|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LogEvent | |
---|---|
org.apache.logging.log4j.core | Implementation of Log4j 2.0. |
org.apache.logging.log4j.core.appender | Log4j 2.0 Appenders. |
org.apache.logging.log4j.core.appender.rewrite | Apache Flume Appender. |
org.apache.logging.log4j.core.appender.rolling | Rolling File Appender and support classes. |
org.apache.logging.log4j.core.appender.routing | Apache Flume Appender. |
org.apache.logging.log4j.core.config | Configuration of Log4j 2.0. |
org.apache.logging.log4j.core.filter | Log4j 2.0 Filter support. |
org.apache.logging.log4j.core.impl | Log4j 2.0 private implementation classes. |
org.apache.logging.log4j.core.layout | Log4j 2.0 Layout support. |
org.apache.logging.log4j.core.lookup | Log4j 2.0 Lookups. |
org.apache.logging.log4j.core.net | Log4j 2.0 network support. |
org.apache.logging.log4j.core.pattern | Provides classes implementing format specifiers in conversion patterns. |
Uses of LogEvent in org.apache.logging.log4j.core |
---|
Methods in org.apache.logging.log4j.core with parameters of type LogEvent | |
---|---|
void |
Appender.append(LogEvent event)
Log in Appender specific way. |
void |
ErrorHandler.error(String msg,
LogEvent event,
Throwable t)
Handle an error with a message, and exception and a logging event. |
Filter.Result |
Filter.filter(LogEvent event)
Filter an event. |
protected void |
AbstractServer.log(LogEvent event)
|
protected void |
Logger.PrivateConfig.logEvent(LogEvent event)
|
byte[] |
Layout.toByteArray(LogEvent event)
Formats the event suitable for display. |
T |
Layout.toSerializable(LogEvent event)
Formats the event as an Object that can be serialized. |
Uses of LogEvent in org.apache.logging.log4j.core.appender |
---|
Methods in org.apache.logging.log4j.core.appender with parameters of type LogEvent | |
---|---|
void |
SMTPAppender.append(LogEvent event)
Perform SMTPAppender specific appending actions, mainly adding the event to a cyclic buffer and checking if the event triggers an e-mail to be sent. |
void |
RollingFileAppender.append(LogEvent event)
Write the log entry rolling over the file when required. |
void |
JMSTopicAppender.append(LogEvent event)
Actual writing occurs here. |
void |
JMSQueueAppender.append(LogEvent event)
Actual writing occurs here. |
void |
FailoverAppender.append(LogEvent event)
Handle the Log event. |
void |
AsynchAppender.append(LogEvent event)
Actual writing occurs here. |
void |
AbstractOutputStreamAppender.append(LogEvent event)
Actual writing occurs here. |
void |
DefaultErrorHandler.error(String msg,
LogEvent event,
Throwable t)
Handle an error with a message, and exception and a logging event. |
void |
AbstractAppender.error(String msg,
LogEvent event,
Throwable t)
Handle an error with a message, and exception and a logging event. |
boolean |
SMTPAppender.isFiltered(LogEvent event)
Capture all events in CyclicBuffer. |
Uses of LogEvent in org.apache.logging.log4j.core.appender.rewrite |
---|
Methods in org.apache.logging.log4j.core.appender.rewrite that return LogEvent | |
---|---|
LogEvent |
RewritePolicy.rewrite(LogEvent source)
Rewrite a logging event. |
LogEvent |
PropertiesRewritePolicy.rewrite(LogEvent source)
Rewrite the event. |
LogEvent |
MapRewritePolicy.rewrite(LogEvent source)
Rewrite the event. |
Methods in org.apache.logging.log4j.core.appender.rewrite with parameters of type LogEvent | |
---|---|
void |
RewriteAppender.append(LogEvent event)
Modify the event and pass to the subordinate Appenders. |
LogEvent |
RewritePolicy.rewrite(LogEvent source)
Rewrite a logging event. |
LogEvent |
PropertiesRewritePolicy.rewrite(LogEvent source)
Rewrite the event. |
LogEvent |
MapRewritePolicy.rewrite(LogEvent source)
Rewrite the event. |
Uses of LogEvent in org.apache.logging.log4j.core.appender.rolling |
---|
Methods in org.apache.logging.log4j.core.appender.rolling with parameters of type LogEvent | |
---|---|
void |
RollingFileManager.checkRollover(LogEvent event)
Determine if a rollover should occur. |
boolean |
TriggeringPolicy.isTriggeringEvent(LogEvent event)
Determines if a rollover may be appropriate at this time. |
boolean |
TimeBasedTriggeringPolicy.isTriggeringEvent(LogEvent event)
Determine whether a rollover should occur. |
boolean |
SizeBasedTriggeringPolicy.isTriggeringEvent(LogEvent event)
Returns true if a rollover should occur. |
boolean |
OnStartupTriggeringPolicy.isTriggeringEvent(LogEvent event)
Determine if a rollover should be triggered. |
boolean |
CompositeTriggeringPolicy.isTriggeringEvent(LogEvent event)
Determines if a rollover should occur. |
Uses of LogEvent in org.apache.logging.log4j.core.appender.routing |
---|
Methods in org.apache.logging.log4j.core.appender.routing with parameters of type LogEvent | |
---|---|
void |
RoutingAppender.append(LogEvent event)
|
Uses of LogEvent in org.apache.logging.log4j.core.config |
---|
Methods in org.apache.logging.log4j.core.config that return LogEvent | |
---|---|
LogEvent |
LoggerConfig.createEvent(String loggerName,
org.apache.logging.log4j.Marker marker,
String fqcn,
org.apache.logging.log4j.Level level,
org.apache.logging.log4j.message.Message data,
List<Property> properties,
Throwable t)
Creates a log event. |
Methods in org.apache.logging.log4j.core.config with parameters of type LogEvent | |
---|---|
void |
AppenderControl.callAppender(LogEvent event)
Call the appender. |
void |
Configuration.createConfiguration(Node node,
LogEvent event)
|
void |
BaseConfiguration.createConfiguration(Node node,
LogEvent event)
|
void |
LoggerConfig.log(LogEvent event)
Logs an event. |
Uses of LogEvent in org.apache.logging.log4j.core.filter |
---|
Methods in org.apache.logging.log4j.core.filter with parameters of type LogEvent | |
---|---|
Filter.Result |
TimeFilter.filter(LogEvent event)
|
Filter.Result |
ThresholdFilter.filter(LogEvent event)
|
Filter.Result |
ThreadContextMapFilter.filter(LogEvent event)
|
Filter.Result |
StructuredDataFilter.filter(LogEvent event)
|
Filter.Result |
RegexFilter.filter(LogEvent event)
|
Filter.Result |
MarkerFilter.filter(LogEvent event)
|
Filter.Result |
MapFilter.filter(LogEvent event)
|
Filter.Result |
DynamicThresholdFilter.filter(LogEvent event)
|
Filter.Result |
CompositeFilter.filter(LogEvent event)
Filter an event. |
Filter.Result |
BurstFilter.filter(LogEvent event)
|
Filter.Result |
AbstractFilter.filter(LogEvent event)
Context Filter method. |
boolean |
Filterable.isFiltered(LogEvent event)
Determines if the event should be filtered. |
boolean |
AbstractFilterable.isFiltered(LogEvent event)
Determine if the LogEvent should be processed or ignored. |
Uses of LogEvent in org.apache.logging.log4j.core.impl |
---|
Classes in org.apache.logging.log4j.core.impl that implement LogEvent | |
---|---|
class |
Log4jLogEvent
Implementation of a LogEvent. |
Methods in org.apache.logging.log4j.core.impl that return LogEvent | |
---|---|
LogEvent |
LogEventFactory.createEvent(String loggerName,
org.apache.logging.log4j.Marker marker,
String fqcn,
org.apache.logging.log4j.Level level,
org.apache.logging.log4j.message.Message data,
List<Property> properties,
Throwable t)
|
Uses of LogEvent in org.apache.logging.log4j.core.layout |
---|
Methods in org.apache.logging.log4j.core.layout that return LogEvent | |
---|---|
LogEvent |
SerializedLayout.toSerializable(LogEvent event)
Returns the LogEvent. |
Methods in org.apache.logging.log4j.core.layout with parameters of type LogEvent | |
---|---|
byte[] |
SerializedLayout.toByteArray(LogEvent event)
Formats a LogEvent in conformance with the log4j.dtd. |
byte[] |
AbstractStringLayout.toByteArray(LogEvent event)
Formats the Log Event as a byte array. |
String |
XMLLayout.toSerializable(LogEvent event)
Formats a LogEvent in conformance with the log4j.dtd. |
String |
SyslogLayout.toSerializable(LogEvent event)
Formats a LogEvent in conformance with the log4j.dtd. |
LogEvent |
SerializedLayout.toSerializable(LogEvent event)
Returns the LogEvent. |
String |
RFC5424Layout.toSerializable(LogEvent event)
Formats a LogEvent in conformance with the RFC 5424 Syslog specification. |
String |
PatternLayout.toSerializable(LogEvent event)
Formats a logging event to a writer. |
String |
HTMLLayout.toSerializable(LogEvent event)
Format as a String. |
Uses of LogEvent in org.apache.logging.log4j.core.lookup |
---|
Methods in org.apache.logging.log4j.core.lookup with parameters of type LogEvent | |
---|---|
String |
SystemPropertiesLookup.lookup(LogEvent event,
String key)
Lookup the value for the key using the data in the LogEvent. |
String |
StructuredDataLookup.lookup(LogEvent event,
String key)
Lookup the value for the key using the data in the LogEvent. |
String |
StrLookup.lookup(LogEvent event,
String key)
Looks up a String key to a String value possibly using the current LogEvent. |
String |
MapLookup.lookup(LogEvent event,
String key)
|
String |
Interpolator.lookup(LogEvent event,
String var)
Resolves the specified variable. |
String |
EnvironmentLookup.lookup(LogEvent event,
String key)
Get the value of the environment variable. |
String |
DateLookup.lookup(LogEvent event,
String key)
Get the value of the environment variable. |
String |
ContextMapLookup.lookup(LogEvent event,
String key)
Lookup the value from the ThreadContext Map. |
String |
StrSubstitutor.replace(LogEvent event,
char[] source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template. |
String |
StrSubstitutor.replace(LogEvent event,
char[] source,
int offset,
int length)
Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template. |
String |
StrSubstitutor.replace(LogEvent event,
Object source)
Replaces all the occurrences of variables in the given source object with their matching values from the resolver. |
String |
StrSubstitutor.replace(LogEvent event,
String source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template. |
String |
StrSubstitutor.replace(LogEvent event,
StringBuffer source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source buffer as a template. |
String |
StrSubstitutor.replace(LogEvent event,
StringBuffer source,
int offset,
int length)
Replaces all the occurrences of variables with their matching values from the resolver using the given source buffer as a template. |
String |
StrSubstitutor.replace(LogEvent event,
StringBuilder source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template. |
String |
StrSubstitutor.replace(LogEvent event,
StringBuilder source,
int offset,
int length)
Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template. |
String |
StrSubstitutor.replace(LogEvent event,
String source,
int offset,
int length)
Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template. |
boolean |
StrSubstitutor.replaceIn(LogEvent event,
StringBuffer source,
int offset,
int length)
Replaces all the occurrences of variables within the given source buffer with their matching values from the resolver. |
boolean |
StrSubstitutor.replaceIn(LogEvent event,
StringBuilder source)
Replaces all the occurrences of variables within the given source builder with their matching values from the resolver. |
boolean |
StrSubstitutor.replaceIn(LogEvent event,
StringBuilder source,
int offset,
int length)
Replaces all the occurrences of variables within the given source builder with their matching values from the resolver. |
protected String |
StrSubstitutor.resolveVariable(LogEvent event,
String variableName,
StringBuilder buf,
int startPos,
int endPos)
Internal method that resolves the value of a variable. |
protected boolean |
StrSubstitutor.substitute(LogEvent event,
StringBuilder buf,
int offset,
int length)
Internal method that substitutes the variables. |
Uses of LogEvent in org.apache.logging.log4j.core.net |
---|
Methods in org.apache.logging.log4j.core.net with parameters of type LogEvent | |
---|---|
void |
SMTPManager.add(LogEvent event)
|
protected byte[] |
SMTPManager.formatContentToBytes(LogEvent[] priorEvents,
LogEvent appendEvent,
Layout<?> layout)
|
protected byte[] |
SMTPManager.formatContentToBytes(LogEvent[] priorEvents,
LogEvent appendEvent,
Layout<?> layout)
|
void |
SMTPManager.sendEvents(Layout<?> layout,
LogEvent appendEvent)
Send the contents of the cyclic buffer as an e-mail message. |
protected void |
SMTPManager.writeBuffer(LogEvent[] priorEvents,
LogEvent appendEvent,
Layout<?> layout,
OutputStream out)
|
protected void |
SMTPManager.writeBuffer(LogEvent[] priorEvents,
LogEvent appendEvent,
Layout<?> layout,
OutputStream out)
|
Uses of LogEvent in org.apache.logging.log4j.core.pattern |
---|
Methods in org.apache.logging.log4j.core.pattern with parameters of type LogEvent | |
---|---|
void |
UUIDPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
ThrowablePatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
ThreadPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
StyleConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
SequenceNumberPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
RootThrowablePatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
RelativeTimePatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
RegexReplacementConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
PatternFormatter.format(LogEvent event,
StringBuilder buf)
|
void |
NDCPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
MethodLocationPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
MessagePatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
MDCPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
MarkerPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
MapPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
LoggerPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
abstract void |
LogEventPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
LiteralPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
LineSeparatorPatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
LineLocationPatternConverter.format(LogEvent event,
StringBuilder output)
Formats an event into a string buffer. |
void |
LevelPatternConverter.format(LogEvent event,
StringBuilder output)
Formats an event into a string buffer. |
void |
HighlightConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
FullLocationPatternConverter.format(LogEvent event,
StringBuilder output)
Formats an event into a string buffer. |
void |
FileLocationPatternConverter.format(LogEvent event,
StringBuilder output)
Formats an event into a string buffer. |
void |
ExtendedThrowablePatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
void |
DatePatternConverter.format(LogEvent event,
StringBuilder output)
Formats an event into a string buffer. |
void |
ClassNamePatternConverter.format(LogEvent event,
StringBuilder toAppendTo)
Format a logging event. |
void |
AbstractStyleNameConverter.format(LogEvent event,
StringBuilder toAppendTo)
Formats an event into a string buffer. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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.