public class NilLoggerFactory extends java.lang.Object implements LoggerFactory
| Constructor and Description |
|---|
NilLoggerFactory() |
| 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.
|
public java.lang.String getName()
LoggerFactorygetName in interface LoggerFactorypublic Logger createLogger()
LoggerFactorycreateLogger in interface LoggerFactorypublic Logger getLogger(java.lang.String loggerName)
LoggerFactorygetLogger in interface LoggerFactorypublic Logger getLogger(java.lang.Class<?> clazz)
LoggerFactorygetLogger in interface LoggerFactory