|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.util.logging.LoggerFactoryImpl
The factory class LoggerFactory
can be used
to create Logger
instances.
The Logger
-implementation class served
by the factory is configured by settings in the
OJB.properties file.
Field Summary | |
(package private) Logger |
bootLogger
|
(package private) java.util.Map |
cache
Used for caching logger instances |
(package private) Logger |
defaultLogger
|
static LoggerFactoryImpl |
INSTANCE
|
Method Summary | |
Logger |
getBootLogger()
returns a minimal logger that needs no configuration and can thus be safely used during OJB boot phase (i.e. |
Logger |
getDefaultLogger()
returns the default logger. |
static LoggerFactoryImpl |
getInstance()
|
Logger |
getLogger(java.lang.Class clazz)
returns a Logger. |
Logger |
getLogger(java.lang.String loggerName)
returns a Logger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final LoggerFactoryImpl INSTANCE
Logger defaultLogger
Logger bootLogger
java.util.Map cache
Method Detail |
public static LoggerFactoryImpl getInstance()
public Logger getBootLogger()
public Logger getDefaultLogger()
public Logger getLogger(java.lang.Class clazz)
clazz
- the Class which name is to be used as name
public Logger getLogger(java.lang.String loggerName)
loggerName
- the name of the Logger
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |