logger.message: Prints a message at a certain log level.

Description Usage Arguments Details Author(s) Examples

View source: R/logger.R

Description

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

Usage

1
logger.message(level, msg, ...)

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.

Details

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

Author(s)

Rob Kooper

Examples

1
2
3
4
## Not run: 
logger.message('DEBUG', 'variable', 5)

## End(Not run)

infotroph/PEcAn.logger documentation built on May 23, 2019, 1:09 p.m.