Logging level constants used by the MazamaCoreUtils logging API.

FATAL

Format

An object of class integer of length 1.

Details

Available log levels include:


FATAL
ERROR
WARN
INFO
DEBUG
TRACE

These constants are retained for backwards compatibility with the original MazamaCoreUtils logging system.

Examples

# Level constants are named integers
c(FATAL, ERROR, WARN, INFO, DEBUG, TRACE)
#> FATAL ERROR  WARN  INFO DEBUG TRACE 
#>     1     2     4     6     8     9 
names(INFO)
#> [1] "INFO"

# Show INFO and higher messages in the console
logger.setup()
logger.setLevel(INFO)
logger.info("Console logging is now enabled for INFO")