Get or set log record layout
log_layout(layout = NULL, namespace = "global", index = 1)
function defining the structure of a log record, eg layout_simple
, layout_glue
or layout_glue_colors
, layout_json
, or generator functions such as layout_glue_generator
, default NULL
logger namespace
index of the logger within the namespace
if (FALSE) {
log_layout(layout_json())
log_info(42)
}