public class PaxLoggingEventImpl extends java.lang.Object implements java.io.Serializable, PaxLoggingEvent
LoggingEvent
instance
is created. This instance is passed around to the different log4j
components.
This class is of concern to those wishing to extend log4j.
Constructor and Description |
---|
PaxLoggingEventImpl(LoggingEvent event) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFQNOfLoggerClass()
Get the fully qualified name of the calling logger sub-class/wrapper.
|
PaxLevel |
getLevel()
Return the level of this event.
|
PaxLocationInfo |
getLocationInformation()
Set the location information for this logging event.
|
java.lang.String |
getLoggerName()
Return the name of the logger.
|
java.lang.String |
getMessage()
Return the message for this logging event.
|
java.util.Map |
getProperties()
Returns the set of properties for the event.
|
java.lang.String |
getRenderedMessage() |
java.lang.String |
getThreadName() |
java.lang.String[] |
getThrowableStrRep()
Return this event's throwable's string[] representaion.
|
long |
getTimeStamp()
Getter for the event's time stamp.
|
boolean |
locationInformationExists()
Check for the existence of location information without creating it
(a byproduct of calling getLocationInformation).
|
public PaxLoggingEventImpl(LoggingEvent event)
public PaxLocationInfo getLocationInformation()
getLocationInformation
in interface PaxLoggingEvent
public PaxLevel getLevel()
level
field.getLevel
in interface PaxLoggingEvent
public java.lang.String getLoggerName()
categoryName
field.getLoggerName
in interface PaxLoggingEvent
public java.lang.String getMessage()
getMessage
in interface PaxLoggingEvent
public java.lang.String getRenderedMessage()
getRenderedMessage
in interface PaxLoggingEvent
public java.lang.String getThreadName()
getThreadName
in interface PaxLoggingEvent
public java.lang.String[] getThrowableStrRep()
getThrowableStrRep
in interface PaxLoggingEvent
public final boolean locationInformationExists()
locationInformationExists
in interface PaxLoggingEvent
public final long getTimeStamp()
getTimeStamp
in interface PaxLoggingEvent
public java.lang.String getFQNOfLoggerClass()
getFQNOfLoggerClass
in interface PaxLoggingEvent
public java.util.Map getProperties()
getProperties
in interface PaxLoggingEvent
Copyright © 2006-2019 OPS4J - Open Participation Software for Java. All Rights Reserved.