net.i2p.util
Class LogRecord
java.lang.Object
net.i2p.util.LogRecord
class LogRecord
- extends Object
Keep track of a log entry, unformatted.
LogRecord
public LogRecord(Class src,
String name,
String threadName,
int priority,
String msg,
Throwable t)
getDate
public long getDate()
getSource
public Class getSource()
getSourceName
public String getSourceName()
getThreadName
public String getThreadName()
getPriority
public int getPriority()
getMessage
public String getMessage()
getThrowable
public Throwable getThrowable()
equals
public boolean equals(Object o)
- Matches source class, first part of message string, and throwable class only.
Used only by LogWriter to eliminate dups.
- Overrides:
equals
in class Object
- Since:
- 0.9.3