public interface LoggerFactory
Modifier and Type | Method and Description |
---|---|
Logger |
createLogger()
Returns a new logger instance that is not named (empty string name) and therefore
not be retrieved again in any way by the factory.
|
Logger |
getLogger(java.lang.Class<?> clazz)
Returns a logger instance corresponding to the full qualifies name of the given class.
|
Logger |
getLogger(java.lang.String loggerName)
Returns a logger instance corresponding to the given name.
|
java.lang.String |
getName()
Returns the name of this logger factory.
|
java.lang.String getName()
Logger createLogger()
Logger getLogger(java.lang.String loggerName)
Logger getLogger(java.lang.Class<?> clazz)