MazamaWebUtils (version 0.1.7)

logger.setLevel: Set Console Log Level

Description

By default, the looger threshold is set to FATAL so that the console will typically receive no log messages. By setting the level to one of the other log levels: TRACE, DEBUG, INFO, WARN, ERROR users can see logging messages while running commands at the command line.

Usage

logger.setLevel(level)

Arguments

level

threshold level

Value

No return value.

See Also

logger.setup

Examples

Run this code
# NOT RUN {
# Set up console logging only
logger.setup()
logger.setLevel(DEBUG)
# }

Run the code above in your browser using DataLab