|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogEvent
Method Summary | |
---|---|
Map<String,String> |
getContextMap()
Get the MDC data. |
org.apache.logging.log4j.ThreadContext.ContextStack |
getContextStack()
Get the NDC data. |
String |
getFQCN()
Returns the fully qualified class name of the caller of the logging api. |
org.apache.logging.log4j.Level |
getLevel()
Get level. |
String |
getLoggerName()
Get logger name. |
org.apache.logging.log4j.Marker |
getMarker()
Get the Marker associated with the event. |
org.apache.logging.log4j.message.Message |
getMessage()
Get the message associated with the event. |
long |
getMillis()
Get event time in milliseconds since 1970. |
StackTraceElement |
getSource()
Get source of logging request. |
String |
getThreadName()
Get thread name. |
Throwable |
getThrown()
Get throwable associated with logging request. |
Method Detail |
---|
org.apache.logging.log4j.Level getLevel()
String getLoggerName()
StackTraceElement getSource()
org.apache.logging.log4j.message.Message getMessage()
org.apache.logging.log4j.Marker getMarker()
String getThreadName()
long getMillis()
Throwable getThrown()
Map<String,String> getContextMap()
org.apache.logging.log4j.ThreadContext.ContextStack getContextStack()
String getFQCN()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.