org.springframework.boot.logging
Class AbstractLoggingSystem
java.lang.Object
org.springframework.boot.logging.LoggingSystem
org.springframework.boot.logging.AbstractLoggingSystem
- Direct Known Subclasses:
- JavaLoggingSystem, Log4JLoggingSystem, LogbackLoggingSystem
public abstract class AbstractLoggingSystem
- extends LoggingSystem
Abstract base class for LoggingSystem implementations.
- Author:
- Phillip Webb, Dave Syer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLoggingSystem
public AbstractLoggingSystem(ClassLoader classLoader,
String... paths)
getClassLoader
protected final ClassLoader getClassLoader()
beforeInitialize
public void beforeInitialize()
- Description copied from class:
LoggingSystem
- Reset the logging system to be limit output. This method may be called before
LoggingSystem.initialize() to reduce logging noise until the systems has been full
Initialized.
- Specified by:
beforeInitialize in class LoggingSystem
initialize
public void initialize()
- Description copied from class:
LoggingSystem
- Initialize the logging system using sensible defaults. This method should generally
try to find system specific configuration on classpath before falling back to
sensible defaults.
- Specified by:
initialize in class LoggingSystem
initializeWithSensibleDefaults
protected void initializeWithSensibleDefaults()
getPackagedConfigFile
protected final String getPackagedConfigFile(String fileName)
Copyright © 2013. All Rights Reserved.