urv.log
Class Log
java.lang.Object
urv.log.Log
public class Log
- extends java.lang.Object
- Author:
- Gerard Paris Aixala
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static final int DEBUG
- See Also:
- Constant Field Values
INFO
public static final int INFO
- See Also:
- Constant Field Values
WARN
public static final int WARN
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
FATAL
public static final int FATAL
- See Also:
- Constant Field Values
LOG_PERIOD
public static final int LOG_PERIOD
- See Also:
- Constant Field Values
getInstance
public static Log getInstance()
debug
public void debug(java.lang.String string)
fatal
public void fatal(java.lang.String string)
increaseLostDataMessage
public void increaseLostDataMessage()
incresaseSuccessfulDeliveredMessages
public void incresaseSuccessfulDeliveredMessages()
info
public void info(java.lang.String string)
printLoggables
public java.lang.String printLoggables()
printMessageReceived
public void printMessageReceived(org.jgroups.Address dest,
org.jgroups.Address src,
java.lang.String str)
printMessageStatistics
public void printMessageStatistics()
registerDumpingClass
public void registerDumpingClass(java.lang.String className)
- The classes registered with this method will be dumped when
the method
printLoggables()
is invoked.
- Parameters:
className
-
registerLoggable
public void registerLoggable(java.lang.String className,
Loggable l)
- Registers a loggable for the specified classname
warn
public void warn(java.lang.String string)
setCurrentLevel
public void setCurrentLevel(int currentLevel)
- Parameters:
currentLevel
- the currentLevel to set