|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvs.debug.LogFactory
public class LogFactory
Sets up and manages loggers
Field Summary | |
---|---|
static java.lang.String |
m_agentName
|
static long |
timeOffset
|
Constructor Summary | |
---|---|
LogFactory()
|
Method Summary | |
---|---|
static void |
closeLogger(java.lang.String loggerName)
Closes all handlers of the logger for this package |
static void |
generateIndex()
Generates index HTML file containing all the log files as links |
static java.lang.String |
getIndex()
|
static java.util.logging.Logger |
getLogger(java.lang.Object src)
Returns a logger for the package of the object; sets it up if not used before |
static java.util.logging.Logger |
getLogger(java.lang.String loggerName)
Deprecated. Use getLogger(Object src) instead. Returns the logger for this package; sets it up if not used before |
static void |
registerAgent(java.lang.String agentName)
Registers agent name to this LogFactory, to prepend to package name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static long timeOffset
public static java.lang.String m_agentName
Constructor Detail |
---|
public LogFactory()
Method Detail |
---|
public static void closeLogger(java.lang.String loggerName)
loggerName
- the name of the loggerpublic static void generateIndex()
public static java.lang.String getIndex()
public static java.util.logging.Logger getLogger(java.lang.Object src)
src
- the Object that is getting the logger
@Deprecated public static java.util.logging.Logger getLogger(java.lang.String loggerName)
loggerName
- the name of the logger
public static void registerAgent(java.lang.String agentName)
agentName
- description of agent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |