|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibis.util.GetLogger
Utility to obtain a log4j logger even when there is no configuration file.
Method Summary | |
static org.apache.log4j.Logger |
getLogger(java.lang.Class cl)
Creates a log4j logger. |
static org.apache.log4j.Logger |
getLogger(java.lang.Class cl,
org.apache.log4j.Level level)
Creates a log4j logger. |
static org.apache.log4j.Logger |
getLogger(java.lang.String name)
Creates a log4j logger. |
static org.apache.log4j.Logger |
getLogger(java.lang.String name,
org.apache.log4j.Level level)
Creates a log4j logger. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static org.apache.log4j.Logger getLogger(java.lang.String name)
name
- the name of this logger.
public static org.apache.log4j.Logger getLogger(java.lang.Class cl)
cl
- the class that bears the name of this logger.
public static org.apache.log4j.Logger getLogger(java.lang.String name, org.apache.log4j.Level level)
name
- the name of this logger.level
- the level of this logger.
public static org.apache.log4j.Logger getLogger(java.lang.Class cl, org.apache.log4j.Level level)
cl
- the class that bears the name of this logger.level
- the level of this logger.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |