Skip to contents

This will return the current level configured of the logging messages.

Usage

logger.getLevel()

Value

A string giving the lowest message level that will be reported, one of "ALL", "DEBUG", "INFO", "WARN", "ERROR", "SEVERE", or "OFF".

Details

Note that logger.setLevel() invisibly returns current level, so logger.getLevel() is not required to restore the level after a temporary change.

Author

Rob Kooper

Examples

if (FALSE) { # \dontrun{
logger.getLevel()
} # }