de.betabeans.scroogexhtml
Class LogEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--de.betabeans.scroogexhtml.LogEvent
All Implemented Interfaces:
java.io.Serializable

public class LogEvent
extends java.util.EventObject

Description of the Class

Author:
Michael Justin
See Also:
Serialized Form

Field Summary
static short LOG_DEBUG
          log level DEBUG
static short LOG_ERROR
          log level ERROR
static short LOG_FATAL
          log level FATAL
static short LOG_INFO
          log level INFO
static short LOG_WARN
          log level WARN
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LogEvent(java.lang.Object source, short logLevel, java.lang.String logMessage)
          Constructor for the LogEvent object
 
Method Summary
 java.lang.String getFormattedMessage()
          Gets the formattedMessage attribute of the LogEvent object
 short getLogLevel()
          Gets the logLevel attribute of the LogEvent object
 java.lang.String getLogMessage()
          Gets the logMessage attribute of the LogEvent object
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG_DEBUG

public static final short LOG_DEBUG
log level DEBUG

LOG_INFO

public static final short LOG_INFO
log level INFO

LOG_WARN

public static final short LOG_WARN
log level WARN

LOG_ERROR

public static final short LOG_ERROR
log level ERROR

LOG_FATAL

public static final short LOG_FATAL
log level FATAL
Constructor Detail

LogEvent

public LogEvent(java.lang.Object source,
                short logLevel,
                java.lang.String logMessage)
Constructor for the LogEvent object
Parameters:
source - the ScroogeXHTMLBase object which triggered the event
logLevel - logging level
logMessage - log message
Method Detail

getLogLevel

public short getLogLevel()
Gets the logLevel attribute of the LogEvent object
Returns:
The logLevel value

getLogMessage

public java.lang.String getLogMessage()
Gets the logMessage attribute of the LogEvent object
Returns:
The logMessage value

getFormattedMessage

public java.lang.String getFormattedMessage()
Gets the formattedMessage attribute of the LogEvent object
Returns:
The formattedMessage value