logger.setLevel: Set Console Log Level

Description Usage Arguments Value Note See Also Examples

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

1

Arguments

level

threshold level

Value

No return value.

Note

All functionality is built on top of the excellent futile.logger package.

See Also

logger.setup

Examples

1
2
3
4
5
6
## Not run: 
# Set up console logging only
logger.setup()
logger.setLevel(DEBUG)

## End(Not run)

MazamaWebUtils documentation built on May 2, 2019, 2:41 a.m.