|
Configuration Platform SDK 7.6 API Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.log.Log
Method Summary | |
static ILogger |
getLogger(java.lang.Class clazz)
Return logger. |
static ILogger |
getLogger(java.lang.String name)
Return logger. |
static void |
setLoggerFactory(ILoggerFactory factory)
Set logger system implemntation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ILogger getLogger(java.lang.String name)
setLoggerFactory
method or
"com.genesyslab.platform.commons.log.loggerFactory" system property.
It have to contain name of the class which implement
com.genesyslab.platform.commons.log.ILoggerFactory interface.
One such implementation is
com.genesyslab.platform.commons.log.Log4JLoggerFactoryImpl.
name
- name of the logger
public static ILogger getLogger(java.lang.Class clazz)
setLoggerFactory
method or
"com.genesyslab.platform.commons.log.loggerFactory" system property.
It have to contain name of the class which implement
com.genesyslab.platform.commons.log.ILoggerFactory interface.
One such implementation is
com.genesyslab.platform.commons.log.Log4JLoggerFactoryImpl.
clazz
- class to create name of the logger from
public static void setLoggerFactory(ILoggerFactory factory)
factory
- factory that creates loggers
|
Configuration Platform SDK 7.6 API Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |