new_log_level | R Documentation |
S3 object to represent a typed & predefined log level.
new_log_level(name, description, severity, log_style = NULL, msg_style = NULL)
name |
name of the log level is the string representation. |
description |
description of the log level & limited info on appropriate usage. |
severity |
log severity is used in determining if a message should get displayed according to the currently set evaluation threshold. |
log_style |
is a crayon::style() that will colorize the log level. |
msg_style |
is a crayon::style() style that will gray scale the log message, with typically inverted strength, according to the severity. |
log_level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.