This function will print a message. This is the function that is responsible for the actual printing of the message.

logger.message(level, msg, ..., wrap = TRUE)

Arguments

level

the level of the message (DEBUG, INFO, WARN, ERROR)

msg

the message that should be printed.

...

any additional text that should be printed.

wrap

Whether or not to wrap long messages (default = TRUE). If FALSE, preserve format of original string. Useful for specifically formatted error messages.

Details

This is a place holder and will be later filled in with a more complex logging set

Examples

# NOT RUN {
logger.message('DEBUG', 'variable', 5)
# }