|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ojb.broker.util.logging.LoggerFactory
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.
Constructor Summary | |
LoggerFactory()
|
Method Summary | |
static Logger |
getBootLogger()
returns a minimal logger that needs no configuration and can thus be safely used during OJB boot phase (i.e. when OJB.properties have not been loaded). |
static Logger |
getDefaultLogger()
returns the default logger. |
static Logger |
getLogger(java.lang.Class clazz)
returns a Logger. |
static Logger |
getLogger(java.lang.String pLoggerName)
returns a Logger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoggerFactory()
Method Detail |
public static Logger getBootLogger()
public static Logger getDefaultLogger()
public static Logger getLogger(java.lang.Class clazz)
clazz
- the Class which name is to be used as name
public static Logger getLogger(java.lang.String pLoggerName)
pLoggerName
- the name of the Logger
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |