org.hippoecm.hst.core.logging
Class LogEventImpl

java.lang.Object
  extended by org.hippoecm.hst.core.logging.LogEventImpl
All Implemented Interfaces:
Serializable, LogEvent

public class LogEventImpl
extends Object
implements LogEvent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.hippoecm.hst.logging.LogEvent
LogEvent.Level
 
Constructor Summary
LogEventImpl(String loggerName, LogEvent.Level level, String message)
           
LogEventImpl(String loggerName, LogEvent.Level level, String message, String threadName, long timestamp)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogEventImpl

public LogEventImpl(String loggerName,
                    LogEvent.Level level,
                    String message)

LogEventImpl

public LogEventImpl(String loggerName,
                    LogEvent.Level level,
                    String message,
                    String threadName,
                    long timestamp)
Method Detail

getLevel

public LogEvent.Level getLevel()
Description copied from interface: LogEvent
Return the level of this event.

Specified by:
getLevel in interface LogEvent

getLoggerName

public String getLoggerName()
Description copied from interface: LogEvent
Gets the logger of the event.

Specified by:
getLoggerName in interface LogEvent

getMessage

public String getMessage()
Description copied from interface: LogEvent
Return the message for this logging event.

Specified by:
getMessage in interface LogEvent

getThreadName

public String getThreadName()
Description copied from interface: LogEvent
Return the thread name of this event.

Specified by:
getThreadName in interface LogEvent

getTimestamp

public long getTimestamp()
Description copied from interface: LogEvent
Getter for the event's time stamp. The time stamp is calculated starting from 1970-01-01 GMT.

Specified by:
getTimestamp in interface LogEvent


Copyright © 2008-2012 Hippo. All Rights Reserved.