Description Usage Arguments See Also Examples
Get or set log record layout
1 | log_layout(layout, 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
1 2 3 4 5 | ## 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.