Skip to contents

formats a message with the style of the log level.

Usage

# S3 method for log_level
format(x, message = character(0), ...)

Arguments

x

log level

message

message to format

...

further arguments passed to or from other methods.

Value

styled level information

Examples

if (FALSE) {
level_info(LEVEL)
}