|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ops4j.pax.logging.service.internal.PaxLoggingEventImpl
public class PaxLoggingEventImpl
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 different log4j
components.
This class is of concern to those wishing to extend log4j.
Constructor Summary | |
---|---|
PaxLoggingEventImpl(LoggingEvent event)
|
Method Summary | |
---|---|
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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PaxLoggingEventImpl(LoggingEvent event)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |