LoggerConfiguration
class LoggerConfiguration
Immutable class that represents the configuration of a LoggingSystem's logger.
Author
Ben Hale
Phillip Webb
Since
1.5.0
Constructors
Link copied to clipboard
Create a new instance.
constructor( name: String, levelConfiguration: LoggerConfiguration.LevelConfiguration, inheritedLevelConfiguration: LoggerConfiguration.LevelConfiguration)
Create a new instance.
Types
Link copied to clipboard
enum ConfigurationScope
Supported logger configuration scopes.
Link copied to clipboard
class LevelConfiguration
Logger level configuration.
Functions
Link copied to clipboard
Returns the configured level of the logger.
Link copied to clipboard
Returns the effective level of the logger.
Link copied to clipboard
open fun getLevelConfiguration(scope: LoggerConfiguration.ConfigurationScope): LoggerConfiguration.LevelConfiguration
Return the level configuration for the given scope.