|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bankframe.services.logger.ELoggerFactory
This class is the base class for all ELogger factory classes.
getLogger(String) as follows:
import com.bankframe.services.logger.ELogger;
import com.bankframe.services.logger.ELoggerFactory;
public class Foo {
private static final ELogger log = ELoggerFactory.getLogger(Foo.class);
...
}
com.eontec.mca.elogger.factory Java Property. This setting should specifiy the full class
name of an ELoggerFactory subclass. If none is defined then the
com.bankframe.services.logger.console.ConsoleLoggerFactory will be used as a default.
com.bankframe.services.logger.ELogger and its nested interface
com.bankframe.services.logger.ELogger.Contextcom.bankframe.services.logger.ELoggerFactory.
This sub-class must provide an implementation of the createLogger(String) method
that returns an initialized instance of the ELogger implementation defined during the previous step.
| Field Summary | |
static java.lang.String |
FACTORY_PROPERTY
This java property specifies the logger factory to use |
static java.lang.String |
FACTORY_PROPERTY_FILE
This specifies the property file to use if FACTORY_PROPERTY not defined |
static java.lang.String |
LOGGER_ENABLED
This java property specifies whether logging is enabled or disabled |
| Method Summary | |
static ELogger |
getLogger()
Deprecated. Use getLogger(String) or getLogger(Class) instead |
static ELogger |
getLogger(java.lang.Class subsystem)
This method returns a logger for the specified subsystem. |
static ELogger |
getLogger(java.lang.String subsystem)
This method returns a logger for the specified subsystem. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String FACTORY_PROPERTY
public static final java.lang.String LOGGER_ENABLED
public static final java.lang.String FACTORY_PROPERTY_FILE
| Method Detail |
public static ELogger getLogger()
getLogger(String) or getLogger(Class) instead
public static ELogger getLogger(java.lang.Class subsystem)
subsystem - The logging subystem to be used
public static ELogger getLogger(java.lang.String subsystem)
subsystem - The logging subystem to be used
public static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||