Modifier and Type | Method and Description |
---|---|
static Logger |
LoggerConfigurator.configure(Logger logger)
Call this method when you want to configure a given
Logger instance. |
abstract Logger |
LoggerConfigurator.doConfigure(Logger logger)
Called by the
configure(Logger) method of this class, when it's time to configure a given Logger instance. |
static Logger |
Logger.getInstance()
Returns the default
Logger instance, with a key of "" . |
static Logger |
Logger.getInstance(java.lang.Class<?> clazz)
Returns a
Logger instance given a key of clazz.getName() . |
static Logger |
Logger.getInstance(java.lang.String key)
Returns a
Logger instance given a key of key . |
static Logger |
Logger.newInstance()
Returns a new empty
Logger instance. |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Logger> |
Logger.getLoggers()
Returns a
Collection with all Logger s currently in use. |
Modifier and Type | Method and Description |
---|---|
static Logger |
LoggerConfigurator.configure(Logger logger)
Call this method when you want to configure a given
Logger instance. |
abstract Logger |
LoggerConfigurator.doConfigure(Logger logger)
Called by the
configure(Logger) method of this class, when it's time to configure a given Logger instance. |