net.i2p.util
Class LogRecord

java.lang.Object
  extended by net.i2p.util.LogRecord

 class LogRecord
extends Object

Keep track of a log entry, unformatted.


Constructor Summary
LogRecord(Class src, String name, String threadName, int priority, String msg, Throwable t)
           
 
Method Summary
 boolean equals(Object o)
          Matches source class, first part of message string, and throwable class only.
 long getDate()
           
 String getMessage()
           
 int getPriority()
           
 Class getSource()
           
 String getSourceName()
           
 String getThreadName()
           
 Throwable getThrowable()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogRecord

public LogRecord(Class src,
                 String name,
                 String threadName,
                 int priority,
                 String msg,
                 Throwable t)
Method Detail

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