Class LoggingEvent

  • All Implemented Interfaces:
    Serializable

    public class LoggingEvent
    extends Object
    implements Serializable
    Our LoggingEvent class which is designed to look and act just like log4j's, but which maintains an internal ExtLogRecord instance.
    See Also:
    Serialized Form
    • Field Detail

      • categoryName

        public final String categoryName
      • timeStamp

        public final long timeStamp
      • fqnOfCategoryClass

        public final transient String fqnOfCategoryClass
      • level

        public transient org.apache.log4j.Priority level
    • Constructor Detail

      • LoggingEvent

        public LoggingEvent​(String fqnOfCategoryClass,
                            Category logger,
                            org.apache.log4j.Priority level,
                            Object message,
                            Throwable throwable)
      • LoggingEvent

        public LoggingEvent​(String fqnOfCategoryClass,
                            Category logger,
                            long timeStamp,
                            org.apache.log4j.Priority level,
                            Object message,
                            Throwable throwable)
      • LoggingEvent

        public LoggingEvent​(String fqnOfCategoryClass,
                            Category logger,
                            long timeStamp,
                            org.apache.log4j.Level level,
                            Object message,
                            String threadName,
                            org.apache.log4j.spi.ThrowableInformation throwable,
                            String ndc,
                            org.apache.log4j.spi.LocationInfo info,
                            Map properties)
      • LoggingEvent

        public LoggingEvent​(org.jboss.logmanager.ExtLogRecord logRecord,
                            Category logger)
    • Method Detail

      • getLocationInformation

        public org.apache.log4j.spi.LocationInfo getLocationInformation()
      • getLevel

        public org.apache.log4j.Level getLevel()
      • getLoggerName

        public String getLoggerName()
      • getLogger

        public Category getLogger()
      • getMessage

        public Object getMessage()
      • getNDC

        public String getNDC()
      • getMDCCopy

        public void getMDCCopy()
      • getRenderedMessage

        public String getRenderedMessage()
      • getStartTime

        public static long getStartTime()
      • getThreadName

        public String getThreadName()
      • getThrowableInformation

        public org.apache.log4j.spi.ThrowableInformation getThrowableInformation()
      • getThrowableStrRep

        public String[] getThrowableStrRep()
      • setProperty

        public final void setProperty​(String propName,
                                      String propValue)
      • getProperty

        public final String getProperty​(String key)
      • locationInformationExists

        public final boolean locationInformationExists()
      • getTimeStamp

        public final long getTimeStamp()
      • getPropertyKeySet

        public Set getPropertyKeySet()
      • getProperties

        public Map getProperties()
      • getFQNOfLoggerClass

        public String getFQNOfLoggerClass()
      • removeProperty

        public Object removeProperty​(String propName)
      • getLogRecord

        public org.jboss.logmanager.ExtLogRecord getLogRecord()