logahawk.listeners
Class ThreadLogMeta
java.lang.Object
logahawk.listeners.DefaultLogMeta
logahawk.listeners.ThreadLogMeta
- All Implemented Interfaces:
- LogMeta
@Immutable
public class ThreadLogMeta
- extends DefaultLogMeta
Adds information about the Thread
that executed the log statement.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected final String name
id
protected final long id
priority
protected final int priority
ThreadLogMeta
public ThreadLogMeta(Severity severity)
- Pulls thread information from
Thread.currentThread()
ThreadLogMeta
public ThreadLogMeta(Severity severity,
Date epoch)
- Pulls thread information from
Thread.currentThread()
ThreadLogMeta
public ThreadLogMeta(Severity severity,
Date epoch,
Thread thread)
getName
public String getName()
getId
public long getId()
getPriority
public int getPriority()