new_fmt_literal | R Documentation |
Placeholder for a formatted literal in a log layout.
new_fmt_literal(style, literal)
style |
format style (crayon) |
literal |
log value |
log metric layout.
Other Log Layout:
evaluate_layout()
,
new_fmt_cls_field()
,
new_fmt_exec_scope()
,
new_fmt_layout()
,
new_fmt_line_break()
,
new_fmt_log_msg()
,
new_fmt_metric()
,
new_fmt_timestamp()
,
new_log_layout()
## Not run: new_fmt_literal(red $ bold, "literal text") new_fmt_literal(blue $ italic, "literal text") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.