public abstract class LoggingSystem extends Object
| Constructor and Description |
|---|
LoggingSystem() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 locationpublic abstract void setLogLevel(String loggerName, LogLevel level)
loggerName - the name of the logger to setlevel - the log levelpublic static LoggingSystem get(ClassLoader classLoader)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.