com.atlassian.bitbucket.log.LoggingService |
Service that allows runtime configuration of the logging subsystem.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the effective logging level of the specified logger.
| |||||||||||
Sets the level for the specified logger to the provided level.
| |||||||||||
Sets the output level for the root logger, which is a special logger that is the ultimate parent of all other
loggers in the system.
|
Retrieves the effective logging level of the specified logger. The effective logging level is level that is defined for the specified logger or, if no level is defined for the specified logger, the effective level for its parent logger.
loggerName | the name of the logger to retrieve the output level for |
---|
Sets the level for the specified logger to the provided level. Valid levels are:
OFF
disables all output from the specified logger. All other levels include output at
that specific level as well as all output from the levels below them (meaning TRACE
will include output
at DEBUG
, INFO
, WARN
and ERROR
levels).loggerName | the name of the logger to adjust the output level for |
---|---|
level | the new output level for the logger |
Sets the output level for the root logger, which is a special logger that is the ultimate parent of all other loggers in the system.
level | the new output level for the root logger |
---|