Package org.springframework.boot.logging
Class LoggingSystem
java.lang.Object
org.springframework.boot.logging.LoggingSystem
- Direct Known Subclasses:
AbstractLoggingSystem
Common abstraction over logging systems.
- Since:
- 1.0.0
- Author:
- Phillip Webb, Dave Syer, Andy Wilkinson, Ben Hale
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of anEnvironmentproperty used to indicate that a correlation ID is expected to be logged at some point.static final StringThe value of theSYSTEM_PROPERTYthat can be used to indicate that noLoggingSystemshould be used.static final StringThe name used for the root logger.static final StringA System property that can be used to indicate theLoggingSystemto use. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidReset the logging system to be limit output.voidcleanUp()Clean up the logging system.static LoggingSystemget(ClassLoader classLoader) Detect and return the logging system in use.getLoggerConfiguration(String loggerName) Returns the current configuration for aLoggingSystem's logger.Returns a collection of the current configuration for all aLoggingSystem's loggers.Returns aRunnablethat can handle shutdown of this logging system when the JVM exits.