org.hippoecm.hst.logging
Interface LogEvent

All Superinterfaces:
Serializable
All Known Implementing Classes:
LogEventImpl

public interface LogEvent
extends Serializable

The representation of logging events. When an affirmative decision is made to log then a LogEvent instance is created.

Version:
$Id: LogEvent.java 18160 2009-05-19 11:23:16Z wko $

Nested Class Summary
static class LogEvent.Level
          Defines the minimum set of levels recognized by the system, that is ERROR, WARN, INFODEBUG.
 
Method Summary
 LogEvent.Level getLevel()
          Return the level of this event.
 String getLoggerName()
          Gets the logger of the event.
 String getMessage()
          Return the message for this logging event.
 String getThreadName()
          Return the thread name of this event.
 long getTimestamp()
          Getter for the event's time stamp.
 

Method Detail

getLoggerName

String getLoggerName()
Gets the logger of the event.


getLevel

LogEvent.Level getLevel()
Return the level of this event.


getThreadName

String getThreadName()
Return the thread name of this event.


getTimestamp

long getTimestamp()
Getter for the event's time stamp. The time stamp is calculated starting from 1970-01-01 GMT.


getMessage

String getMessage()
Return the message for this logging event.



Copyright © 2008-2012 Hippo. All Rights Reserved.