layout_json_parser | R Documentation |
Generate log layout function rendering JSON after merging meta fields with parsed list from JSON message
layout_json_parser(fields = default_fields())
fields |
character vector of field names to be included in the JSON |
This functionality depends on the jsonlite package.
Other log_layouts:
get_logger_meta_variables()
,
layout_blank()
,
layout_glue()
,
layout_glue_colors()
,
layout_glue_generator()
,
layout_json()
,
layout_logging()
,
layout_simple()
log_formatter(formatter_json)
log_info(everything = 42)
log_layout(layout_json_parser())
log_info(everything = 42)
log_layout(layout_json_parser(fields = c("time", "node")))
log_info(cars = row.names(mtcars), species = unique(iris$Species))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.