class LogRecord extends Object
| Constructor and Description |
|---|
LogRecord(Class<?> src,
String name,
String threadName,
int priority,
String msg,
Throwable t)LogRecord. |
| Modifier and Type | Method and Description |
|---|---|
boolean | equals(Object o)Matches source class, first part of message string, and throwable class only. |
long | getDate()Time the record was created. |
String | getMessage()Message text. |
int | getPriority()Log priority of the record. |
Class<?> | getSource()Class the record is from. |
String | getSourceName()Name the record is from. |
String | getThreadName()Thread the record was created on. |
Throwable | getThrowable()Throwable attached to the record, if any. |
int | hashCode()Hash code derived from the message. |
public boolean equals(Object o)
public long getDate()
public String getMessage()
public int getPriority()
public Class<?> getSource()
public String getSourceName()
public String getThreadName()
public Throwable getThrowable()