ariba.util.log
Class LoggingEvent
java.lang.Object
org.apache.log4j.spi.LoggingEvent
ariba.util.log.LoggingEvent
- All Implemented Interfaces:
- java.io.Serializable
public class LoggingEvent
- extends org.apache.log4j.spi.LoggingEvent
The internal representation of logging events. When an affirmative
decision is made to log then a LoggingEvent instance is created. This
instance is passed around to the apenders we registered.
This class also adds support for custom tag and localized messages.
- See Also:
- Serialized Form
Fields inherited from class org.apache.log4j.spi.LoggingEvent |
categoryName, fqnOfCategoryClass, level, timeStamp |
Constructor Summary |
LoggingEvent(java.lang.String fqnOfCategoryClass,
org.apache.log4j.Category logger,
long timeStamp,
org.apache.log4j.Priority priority,
java.lang.String messageId,
java.lang.Object message,
java.lang.Throwable throwable)
Instantiates an instance of this class. |
LoggingEvent(java.lang.String fqnOfCategoryClass,
org.apache.log4j.Category logger,
org.apache.log4j.Priority priority,
java.lang.String messageId,
java.lang.Object message,
java.lang.Throwable throwable)
Instantiates an instance of this class. |
Methods inherited from class org.apache.log4j.spi.LoggingEvent |
getFQNOfLoggerClass, getLevel, getLocationInformation, getLogger, getLoggerName, getMDC, getMDCCopy, getMessage, getNDC, getProperties, getProperty, getPropertyKeySet, getRenderedMessage, getStartTime, getThreadName, getThrowableInformation, getThrowableStrRep, getTimeStamp, locationInformationExists, setProperty |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingEvent
public LoggingEvent(java.lang.String fqnOfCategoryClass,
org.apache.log4j.Category logger,
long timeStamp,
org.apache.log4j.Priority priority,
java.lang.String messageId,
java.lang.Object message,
java.lang.Throwable throwable)
- Instantiates an instance of this class.
- Parameters:
fqnOfCategoryClass
- the fully qualified class name of the logging categorylogger
- the logger that logs this eventtimeStamp
- The time in millis since the Java epoch that thispriority
- the prority of the eventmessageId
- the message id for localizationmessage
- the log messagethrowable
- The stackTrace associated with this event if
any. May be null if no stack trace generated.
LoggingEvent
public LoggingEvent(java.lang.String fqnOfCategoryClass,
org.apache.log4j.Category logger,
org.apache.log4j.Priority priority,
java.lang.String messageId,
java.lang.Object message,
java.lang.Throwable throwable)
- Instantiates an instance of this class.
- Parameters:
fqnOfCategoryClass
- the fully qualified class name of the logging categorylogger
- the logger that logs this eventpriority
- the prority of the eventmessageId
- the message id for localizationmessage
- the log messagethrowable
- The stackTrace associated with this event if
any. May be null if no stack trace generated.
setCustomTagImpl
public static void setCustomTagImpl(CustomTag impl)
getCustomTagImpl
public static CustomTag getCustomTagImpl()
getCustomTag
public java.lang.String getCustomTag()
setMessageId
public void setMessageId(java.lang.String messageId)
getMessageId
public java.lang.String getMessageId()
getCallerThreadDebugState
public java.lang.String getCallerThreadDebugState()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.