public class LoggerFactoryImpl
extends java.lang.Object
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.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BOOT_LOG_LEVEL_STR |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String BOOT_LOG_LEVEL_STR
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 namepublic Logger getLogger(java.lang.String loggerName)
loggerName
- the name of the Logger(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30