log_layout | R Documentation |
Get or set log record layout
log_layout(layout = NULL, namespace = "global", index = 1)
layout |
function defining the structure of a log record, eg |
namespace |
logger namespace |
index |
index of the logger within the namespace |
logger
, log_threshold
, log_appender
and log_formatter
## Not run:
log_layout(layout_json())
log_info(42)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.