Skip to contents

Infrastructure for logging messages.

Usage

write_log(..., level = "info")

log_fatal(...)

log_error(...)

log_warn(...)

log_info(...)

log_debug(...)

log_trace(...)

as_log_level(level)

cnd_logger(msg, level)

cat_logger(msg, level)

Arguments

...

Concatenated as paste0(..., "\n")

level

Logging level (possible values are "fatal", "error", "warn", "info", "debug" and "trace"

msg

Message (string)