# The behaviour of a layout can be seen by using them directly:
simple <- simple_log_layout()
simple("INFO", "Input has length ", 0, ".")
with_timestamp <- default_log_layout()
with_timestamp("INFO", "Input has length ", 0, ".")
logfmt <- logfmt_log_layout()
logfmt("INFO", msg = "got input", length = 24)
Run the code above in your browser using DataLab