powered by
Inserts a formatted log metric.
new_fmt_metric(style, metric)
that the layout will use in log generation
the metric to log.
a new formatted metric
LogDispatch
Other Log Layout: evaluate_layout(), new_fmt_cls_field(), new_fmt_exec_scope(), new_fmt_layout(), new_fmt_line_break(), new_fmt_literal(), new_fmt_log_msg(), new_fmt_timestamp(), new_log_layout()
evaluate_layout()
new_fmt_cls_field()
new_fmt_exec_scope()
new_fmt_layout()
new_fmt_line_break()
new_fmt_literal()
new_fmt_log_msg()
new_fmt_timestamp()
new_log_layout()
# NOT RUN { new_fmt_metric(bold $ green, "sysname") new_fmt_metric(bold $ red, "release") # }
Run the code above in your browser using DataLab