LoggingSystem
Common abstraction over logging systems.
Author
Phillip Webb
Dave Syer
Andy Wilkinson
Ben Hale
Since
1.0.0
Inheritors
Properties
Link copied to clipboard
The name of an Environment property used to indicate that a correlation ID is expected to be logged at some point.
Link copied to clipboard
The value of the SYSTEM_PROPERTY that can be used to indicate that no LoggingSystem should be used.
Link copied to clipboard
The name used for the root logger.
Link copied to clipboard
A System property that can be used to indicate the LoggingSystem to use.
Functions
Link copied to clipboard
Reset the logging system to be limit output.
Link copied to clipboard
Detect and return the logging system in use.
Link copied to clipboard
Returns the current configuration for a LoggingSystem's logger.
Link copied to clipboard
Returns a collection of the current configuration for all a LoggingSystem's loggers.
Link copied to clipboard
Returns a Runnable that can handle shutdown of this logging system when the JVM exits.
Link copied to clipboard
Returns a set of the LogLevels that are actually supported by the logging system.
Link copied to clipboard
Return the LoggingSystemProperties that should be applied.
Link copied to clipboard
open fun initialize(initializationContext: LoggingInitializationContext, configLocation: String, logFile: LogFile)
Fully initialize the logging system.
Link copied to clipboard
Sets the logging level for a given logger.