public class PrintStreamLoggerFactory extends java.lang.Object implements LoggerFactory
PrintStreamLogger
.Constructor and Description |
---|
PrintStreamLoggerFactory(java.lang.String name) |
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.
|
protected java.util.Properties |
getLoggerSettings() |
java.lang.String |
getName()
Returns the name of this logger factory.
|
protected Logger |
initLogger(Logger logger) |
public java.lang.String getName()
LoggerFactory
getName
in interface LoggerFactory
public Logger createLogger()
LoggerFactory
createLogger
in interface LoggerFactory
public Logger getLogger(java.lang.String loggerName)
LoggerFactory
getLogger
in interface LoggerFactory
public Logger getLogger(java.lang.Class<?> clazz)
LoggerFactory
getLogger
in interface LoggerFactory
protected java.util.Properties getLoggerSettings()