|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.boot.logging.LoggingSystem
public abstract class LoggingSystem
Common abstraction over logging systems.
| Constructor Summary | |
|---|---|
LoggingSystem()
|
|
| Method Summary | |
|---|---|
abstract void |
beforeInitialize()
Reset the logging system to be limit output. |
static LoggingSystem |
get(ClassLoader classLoader)
Detect and return the logging system in use. |
abstract void |
initialize()
Initialize the logging system using sensible defaults. |
abstract void |
initialize(String configLocation)
Initialize the logging system from a logging configuration location. |
abstract void |
setLogLevel(String loggerName,
LogLevel level)
Sets the logging level for a given logger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingSystem()
| Method Detail |
|---|
public abstract void beforeInitialize()
initialize() to reduce logging noise until the systems has been full
Initialized.
public abstract void initialize()
public abstract void initialize(String configLocation)
configLocation - a log configuration location
public abstract void setLogLevel(String loggerName,
LogLevel level)
loggerName - the name of the logger to setlevel - the log levelpublic static LoggingSystem get(ClassLoader classLoader)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||