de.betabeans.scroogexhtml.logging
Class LogEvent

java.lang.Object
  extended by java.util.EventObject
      extended by de.betabeans.scroogexhtml.logging.LogEvent
All Implemented Interfaces:
java.io.Serializable

public final class LogEvent
extends java.util.EventObject

A LogEvent object contains information about the logging event.

Author:
Michael Justin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LogEvent(java.lang.Object source, short alogLevel, java.lang.Object alogMessage)
          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
 

Constructor Detail

LogEvent

public LogEvent(java.lang.Object source,
                short alogLevel,
                java.lang.Object alogMessage)
Constructor for the LogEvent object.

Parameters:
source - the ScroogeXHTMLBase object which triggered the event
alogLevel - Logging level of the new logging event.
alogMessage - Loggin message of the new logging event.
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


Copyright (c) 1998-2006 BetaSoft Michael Justin. All Rights Reserved.