logahawk.listeners
Class DefaultLogMeta
java.lang.Object
logahawk.listeners.DefaultLogMeta
- All Implemented Interfaces:
- LogMeta
- Direct Known Subclasses:
- ThreadLogMeta
@Immutable
public class DefaultLogMeta
- extends Object
- implements LogMeta
Default LogMeta
implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLogMeta
public DefaultLogMeta(Severity severity)
- Sets the epoch a new
Date
instance using the default constructor.
DefaultLogMeta
public DefaultLogMeta(Severity severity,
Date epoch)
getEpoch
public Date getEpoch()
- Specified by:
getEpoch
in interface LogMeta
getSeverity
public Severity getSeverity()
- Specified by:
getSeverity
in interface LogMeta