|
||||||||||
| 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
public class 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 String |
BOOT_LOG_LEVEL_STR
|
protected static String |
BOOT_STR
|
protected static String |
DEFAULT_STR
|
protected static LoggerFactoryImpl |
INSTANCE
|
| Method Summary | |
|---|---|
protected Logger |
createPoorMansLogger_Boot()
|
protected Logger |
createStringBufferLogger_Boot()
|
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(Class clazz)
returns a Logger. |
Logger |
getLogger(String loggerName)
returns a Logger. |
protected void |
reassignBootLogger(boolean forceError)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BOOT_LOG_LEVEL_STR
protected static final String BOOT_STR
protected static final String DEFAULT_STR
protected static final LoggerFactoryImpl INSTANCE
| Method Detail |
|---|
public static LoggerFactoryImpl getInstance()
public Logger getBootLogger()
public Logger getDefaultLogger()
public Logger getLogger(Class clazz)
clazz - the Class which name is to be used as name
public Logger getLogger(String loggerName)
loggerName - the name of the Logger
protected void reassignBootLogger(boolean forceError)
forceError - protected Logger createPoorMansLogger_Boot()
protected Logger createStringBufferLogger_Boot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||