|
||||||||||
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 | |
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final LoggerFactoryImpl INSTANCE
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 |