Uses of Interface
org.apache.logging.log4j.core.LogEvent
Packages that use LogEvent
Package
Description
Implementation of Log4j 2.
Log4j 2 Appenders.
Apache Flume Appender.
Rolling File Appender and support classes.
Apache Flume Appender.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
Utility and manager classes for Log4j 2 plugins.
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
Log4j 2 Filter support.
Log4j 2 private implementation classes.
Log4j 2 Layout support.
Log4j 2 Lookups.
Log4j 2 network support.
Provides classes implementing format specifiers in conversion patterns.
The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web
application.
-
Uses of LogEvent in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement LogEventModifier and TypeClassDescriptionclassExposes a Log4j 1 logging event as a Log4j 2 LogEvent.Fields in org.apache.log4j.bridge declared as LogEventMethods in org.apache.log4j.bridge that return LogEventMethods in org.apache.log4j.bridge with parameters of type LogEventModifier and TypeMethodDescriptionvoidvoidLayoutAdapter.encode(LogEvent event, ByteBufferDestination destination) voidbyte[]LayoutAdapter.toByteArray(LogEvent event) LayoutAdapter.toSerializable(LogEvent event) Constructors in org.apache.log4j.bridge with parameters of type LogEvent -
Uses of LogEvent in org.apache.log4j.layout
Methods in org.apache.log4j.layout with parameters of type LogEventModifier and TypeMethodDescriptionvoidLog4j1XmlLayout.encode(LogEvent event, ByteBufferDestination destination) private voidLog4j1XmlLayout.formatTo(LogEvent event, StringBuilder buf) Log4j1SyslogLayout.toSerializable(LogEvent event) Formats aLogEventin conformance with the BSD Log record format.Log4j1XmlLayout.toSerializable(LogEvent event) -
Uses of LogEvent in org.apache.log4j.legacy.core
Methods in org.apache.log4j.legacy.core with parameters of type LogEvent -
Uses of LogEvent in org.apache.log4j.pattern
Methods in org.apache.log4j.pattern with parameters of type LogEventModifier and TypeMethodDescriptionvoidLog4j1LevelPatternConverter.format(LogEvent event, StringBuilder toAppendTo) voidLog4j1MdcPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidLog4j1NdcPatternConverter.format(LogEvent event, StringBuilder toAppendTo) -
Uses of LogEvent in org.apache.logging.log4j.core
Classes in org.apache.logging.log4j.core that implement LogEventModifier and TypeClassDescriptionclassAn abstract log event implementation with default values for all methods.Methods in org.apache.logging.log4j.core that return LogEventModifier and TypeMethodDescriptionAbstractLogEvent.toImmutable()Subclasses should implement this method to provide an immutable version.LogEvent.toImmutable()Returns an immutable version of this log event, which MAY BE a copy of this event.Methods in org.apache.logging.log4j.core with parameters of type LogEventModifier and TypeMethodDescriptionvoidLogs a LogEvent using whatever logic this Appender wishes to use.voidHandle an error with a message, and exception and a logging event.Filter an event.voidvoidbyte[]Layout.toByteArray(LogEvent event) Formats the event suitable for display.Layout.toSerializable(LogEvent event) Formats the event as an Object that can be serialized. -
Uses of LogEvent in org.apache.logging.log4j.core.appender
Fields in org.apache.logging.log4j.core.appender declared as LogEventModifier and TypeFieldDescriptionprivate static final LogEventAsyncAppenderEventDispatcher.STOP_EVENTFields in org.apache.logging.log4j.core.appender with type parameters of type LogEventModifier and TypeFieldDescriptionprivate BlockingQueueFactory<LogEvent> AsyncAppender.Builder.blockingQueueFactoryprivate final BlockingQueue<LogEvent> AsyncAppender.queueprivate final BlockingQueue<LogEvent> AsyncAppenderEventDispatcher.queueMethods in org.apache.logging.log4j.core.appender with parameters of type LogEventModifier and TypeMethodDescriptionvoidActual writing occurs here.voidActual writing occurs here.voidActual writing occurs here.voidvoidHandle the Log event.voidvoidvoidWrites the log entry rolling over the file when required.voidWrite the log entry rolling over the file when required.voidprivate voidFailoverAppender.callAppender(LogEvent event) protected voidAbstractOutputStreamAppender.directEncodeEvent(LogEvent event) protected voidSocketAppender.directEncodeEvent(LogEvent event) (package private) voidDispatches the giveneventto the registered appenders in the current thread.voidHandle an error with a message, exception, and a logging event, using theErrorHandlerconfigured for this Appender.voidHandle an error with a message, an exception, and a logging event.private voidprivate booleanAsyncAppender.handleInterruptedException(LogEvent memento) voidAsyncAppender.logMessageInBackgroundThread(LogEvent logEvent) FOR INTERNAL USE ONLY.voidAsyncAppender.logMessageInCurrentThread(LogEvent logEvent) FOR INTERNAL USE ONLY.private voidAsyncAppender.logToErrorAppenderIfNecessary(boolean appendSuccessful, LogEvent logEvent) abstract voidvoidprotected SerializableAbstractAppender.toSerializable(LogEvent event) Serializes the given event using the appender's layout if present.private booleanprivate voidprotected voidAbstractOutputStreamAppender.writeByteArrayToManager(LogEvent event) Method parameters in org.apache.logging.log4j.core.appender with type arguments of type LogEventModifier and TypeMethodDescriptionAsyncAppender.Builder.setBlockingQueueFactory(BlockingQueueFactory<LogEvent> blockingQueueFactory) Constructor parameters in org.apache.logging.log4j.core.appender with type arguments of type LogEventModifierConstructorDescriptionprivateAsyncAppender(String name, Filter filter, AppenderRef[] appenderRefs, String errorRef, int queueSize, boolean blocking, boolean ignoreExceptions, long shutdownTimeout, Configuration config, boolean includeLocation, BlockingQueueFactory<LogEvent> blockingQueueFactory, Property[] properties) (package private)AsyncAppenderEventDispatcher(String name, AppenderControl errorAppender, List<AppenderControl> appenders, BlockingQueue<LogEvent> queue) -
Uses of LogEvent in org.apache.logging.log4j.core.appender.rewrite
Methods in org.apache.logging.log4j.core.appender.rewrite that return LogEventModifier and TypeMethodDescriptionRewrite the event.Rewrites the event.Rewrite a logging event.Methods in org.apache.logging.log4j.core.appender.rewrite with parameters of type LogEventModifier and TypeMethodDescriptionvoidModifies the event and pass to the subordinate Appenders.Rewrite the event.Rewrites the event.Rewrite a logging 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 LogEventModifier and TypeMethodDescriptionvoidRollingFileManager.checkRollover(LogEvent event) Determines if a rollover should occur.booleanCompositeTriggeringPolicy.isTriggeringEvent(LogEvent event) Determines if a rollover should occur.booleanCronTriggeringPolicy.isTriggeringEvent(LogEvent event) Determines whether a rollover should occur.booleanNoOpTriggeringPolicy.isTriggeringEvent(LogEvent logEvent) booleanOnStartupTriggeringPolicy.isTriggeringEvent(LogEvent event) Determine if a rollover should be triggered.booleanSizeBasedTriggeringPolicy.isTriggeringEvent(LogEvent event) Returns true if a rollover should occur.booleanTimeBasedTriggeringPolicy.isTriggeringEvent(LogEvent event) Determines whether a rollover should occur.booleanTriggeringPolicy.isTriggeringEvent(LogEvent logEvent) Determines if a rollover may be appropriate at this time. -
Uses of LogEvent in org.apache.logging.log4j.core.appender.routing
Methods in org.apache.logging.log4j.core.appender.routing with parameters of type LogEventModifier and TypeMethodDescriptionvoidprivate AppenderRoutingAppender.createAppender(Route route, LogEvent event) RoutingAppender.getControl(String key, LogEvent event) Routes.getPattern(LogEvent event, ConcurrentMap<Object, Object> scriptStaticVariables) Returns the pattern.voidvoidprivate voidRoutingAppender.updatePurgePolicy(String key, LogEvent event) -
Uses of LogEvent in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement LogEventModifier and TypeClassDescriptionclassWhen the Disruptor is started, the RingBuffer is populated with event objects.Fields in org.apache.logging.log4j.core.async declared as LogEventModifier and TypeFieldDescriptionprivate LogEventAsyncLoggerConfigDisruptor.Log4jEventWrapper.eventFields in org.apache.logging.log4j.core.async with type parameters of type LogEventModifier and TypeFieldDescriptionprivate static final com.lmax.disruptor.EventTranslatorTwoArg<AsyncLoggerConfigDisruptor.Log4jEventWrapper, LogEvent, AsyncLoggerConfig> AsyncLoggerConfigDisruptor.MUTABLE_TRANSLATORObject responsible for passing on data to a RingBuffer event with a MutableLogEvent.private com.lmax.disruptor.EventTranslatorTwoArg<AsyncLoggerConfigDisruptor.Log4jEventWrapper, LogEvent, AsyncLoggerConfig> AsyncLoggerConfigDisruptor.translatorprivate static final com.lmax.disruptor.EventTranslatorTwoArg<AsyncLoggerConfigDisruptor.Log4jEventWrapper, LogEvent, AsyncLoggerConfig> AsyncLoggerConfigDisruptor.TRANSLATORObject responsible for passing on data to a specific RingBuffer event.Methods in org.apache.logging.log4j.core.async that return LogEventModifier and TypeMethodDescriptionRingBufferLogEvent.createMemento()Creates and returns a new immutable copy of thisRingBufferLogEvent.private LogEventAsyncLoggerConfigDisruptor.ensureImmutable(LogEvent event) private LogEventAsyncLoggerConfigDisruptor.prepareEvent(LogEvent event) RingBufferLogEvent.toImmutable()Methods in org.apache.logging.log4j.core.async with parameters of type LogEventModifier and TypeMethodDescriptionprotected voidAsyncLoggerConfig.callAppenders(LogEvent event) private voidAsyncLoggerConfigDisruptor.enqueue(LogEvent logEvent, AsyncLoggerConfig asyncLoggerConfig) voidAsyncLoggerConfigDelegate.enqueueEvent(LogEvent event, AsyncLoggerConfig asyncLoggerConfig) Enqueues theLogEventon the mixed configuration ringbuffer.voidAsyncLoggerConfigDisruptor.enqueueEvent(LogEvent event, AsyncLoggerConfig asyncLoggerConfig) private LogEventAsyncLoggerConfigDisruptor.ensureImmutable(LogEvent event) private voidAsyncLoggerConfig.handleQueueFull(LogEvent event) protected voidAsyncLoggerConfig.log(LogEvent event, LoggerConfig.LoggerConfigPredicate predicate) (package private) voidAsyncLoggerConfig.logInBackgroundThread(LogEvent event) abstract voidEventRoute.logMessage(AsyncAppender asyncAppender, LogEvent coreEvent) abstract voidEventRoute.logMessage(AsyncLoggerConfig asyncLoggerConfig, LogEvent event) private voidAsyncLoggerConfig.logToAsyncDelegate(LogEvent event) (package private) voidAsyncLoggerConfig.logToAsyncLoggerConfigsOnCurrentThread(LogEvent event) Called by AsyncLoggerConfigHelper.RingBufferLog4jEventHandler.private voidAsyncLoggerConfig.populateLazilyInitializedFields(LogEvent event) private LogEventAsyncLoggerConfigDisruptor.prepareEvent(LogEvent event) private voidAsyncLoggerConfigDisruptor.showWarningAboutCustomLogEventWithReusableMessage(LogEvent logEvent) booleanAsyncLoggerConfigDelegate.tryEnqueue(LogEvent event, AsyncLoggerConfig asyncLoggerConfig) booleanAsyncLoggerConfigDisruptor.tryEnqueue(LogEvent event, AsyncLoggerConfig asyncLoggerConfig) -
Uses of LogEvent in org.apache.logging.log4j.core.config
Methods in org.apache.logging.log4j.core.config with parameters of type LogEventModifier and TypeMethodDescriptionvoidAppenderControl.callAppender(LogEvent event) Call the appender.private voidAppenderControl.callAppender0(LogEvent event) private voidAppenderControl.callAppenderPreventRecursion(LogEvent event) protected voidLoggerConfig.callAppenders(LogEvent event) voidAbstractConfiguration.createConfiguration(Node node, LogEvent event) voidConfiguration.createConfiguration(Node node, LogEvent event) private ObjectAbstractConfiguration.createPluginObject(PluginType<?> type, Node node, LogEvent event) Invokes a static factory method to either create the desired object or to create a builder object that creates the desired object.private voidAppenderControl.handleAppenderError(LogEvent event, RuntimeException ex) private booleanAppenderControl.isFilteredByAppender(LogEvent event) private booleanAppenderControl.isFilteredByAppenderControl(LogEvent event) private booleanAppenderControl.isFilteredByLevel(LogEvent event) voidAwaitCompletionReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidAwaitUnconditionallyReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidDefaultReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidLockingReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidLogs an event.protected voidLoggerConfig.log(LogEvent event, LoggerConfig.LoggerConfigPredicate predicate) Logs an event.voidReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) Logs an event.private voidLoggerConfig.logParent(LogEvent event, LoggerConfig.LoggerConfigPredicate predicate) private voidLoggerConfig.processLogEvent(LogEvent event, LoggerConfig.LoggerConfigPredicate predicate) private booleanAppenderControl.shouldSkip(LogEvent event) private voidAppenderControl.tryCallAppender(LogEvent event) -
Uses of LogEvent in org.apache.logging.log4j.core.config.plugins.util
Fields in org.apache.logging.log4j.core.config.plugins.util declared as LogEventMethods in org.apache.logging.log4j.core.config.plugins.util with parameters of type LogEventModifier and TypeMethodDescriptionPluginBuilder.forLogEvent(LogEvent event) Specifies the LogEvent that may be used to provide extra context for string substitutions. -
Uses of LogEvent in org.apache.logging.log4j.core.config.plugins.visitors
Methods in org.apache.logging.log4j.core.config.plugins.visitors with parameters of type LogEventModifier and TypeMethodDescriptionprivate ObjectPluginAttributeVisitor.findDefaultValue(LogEvent event) PluginAttributeVisitor.visit(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginBuilderAttributeVisitor.visit(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginConfigurationVisitor.visit(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginElementVisitor.visit(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginLoggerContextVisitor.visit(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginNodeVisitor.visit(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginValueVisitor.visit(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginVisitor.visit(Configuration configuration, Node node, LogEvent event, StringBuilder log) Visits a Node to obtain a value for constructing a Plugin object. -
Uses of LogEvent in org.apache.logging.log4j.core.filter
Methods in org.apache.logging.log4j.core.filter with parameters of type LogEventModifier and TypeMethodDescriptionContext Filter method.Filter an event.booleanAbstractFilterable.isFiltered(LogEvent event) Determine if the LogEvent should be processed or ignored.booleanFilterable.isFiltered(LogEvent event) Determines if the event should be filtered. -
Uses of LogEvent in org.apache.logging.log4j.core.impl
Classes in org.apache.logging.log4j.core.impl that implement LogEventModifier and TypeClassDescriptionclassImplementation of a LogEvent.classMutable implementation of theLogEventinterface.Methods in org.apache.logging.log4j.core.impl that return LogEventModifier and TypeMethodDescriptionDefaultLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message data, List<Property> properties, Throwable t) Creates a log event.DefaultLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, Level level, Message data, List<Property> properties, Throwable t) Creates a log event.LocationAwareLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message data, List<Property> properties, Throwable t) default LogEventLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message data, List<Property> properties, Throwable t) LogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, Level level, Message data, List<Property> properties, Throwable t) ReusableLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message message, List<Property> properties, Throwable t) Creates a log event.ReusableLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, Level level, Message message, List<Property> properties, Throwable t) Creates a log event.static LogEventLog4jLogEvent.createMemento(LogEvent logEvent) Methods in org.apache.logging.log4j.core.impl with parameters of type LogEventModifier and TypeMethodDescriptionstatic LogEventLog4jLogEvent.createMemento(LogEvent logEvent) static Log4jLogEventLog4jLogEvent.createMemento(LogEvent event, boolean includeLocation) Creates and returns a new immutable copy of thisLog4jLogEvent.voidInitialize the fields of thisMutableLogEventfrom another event.static voidSwitches thereservedflag off if the specified event is a MutableLogEvent, otherwise does nothing.static SerializableTake a snapshot of the specifiedLogEvent.Constructors in org.apache.logging.log4j.core.impl with parameters of type LogEvent -
Uses of LogEvent in org.apache.logging.log4j.core.layout
Methods in org.apache.logging.log4j.core.layout that return LogEventModifier and TypeMethodDescriptionSerializedLayout.toSerializable(LogEvent event) Deprecated.Returns the LogEvent.Methods in org.apache.logging.log4j.core.layout with parameters of type LogEventModifier and TypeMethodDescriptionprivate voidRfc5424Layout.appendMessage(StringBuilder buffer, LogEvent event) private voidRfc5424Layout.appendStructuredElements(StringBuilder buffer, LogEvent event) voidAbstractLayout.encode(LogEvent event, ByteBufferDestination destination) Encodes the specified source LogEvent to some binary representation and writes the result to the specified destination.voidPatternLayout.encode(LogEvent event, ByteBufferDestination destination) LevelPatternSelector.getFormatters(LogEvent event) MarkerPatternSelector.getFormatters(LogEvent event) PatternSelector.getFormatters(LogEvent event) ScriptPatternSelector.getFormatters(LogEvent event) voidPatternLayout.serialize(LogEvent event, StringBuilder stringBuilder) byte[]AbstractStringLayout.toByteArray(LogEvent event) Formats the Log Event as a byte array.byte[]MessageLayout.toByteArray(LogEvent event) byte[]SerializedLayout.toByteArray(LogEvent event) Deprecated.Formats aLogEventas a serialized byte array of the LogEvent object.AbstractStringLayout.Serializer.toSerializable(LogEvent event) default StringBuilderAbstractStringLayout.Serializer.toSerializable(LogEvent event, StringBuilder builder) AbstractStringLayout.Serializer2.toSerializable(LogEvent event, StringBuilder builder) HtmlLayout.toSerializable(LogEvent event) Formats as a String.MessageLayout.toSerializable(LogEvent event) PatternLayout.NoFormatPatternSerializer.toSerializable(LogEvent event) PatternLayout.NoFormatPatternSerializer.toSerializable(LogEvent event, StringBuilder buffer) PatternLayout.PatternFormatterPatternSerializer.toSerializable(LogEvent event) PatternLayout.PatternFormatterPatternSerializer.toSerializable(LogEvent event, StringBuilder buffer) PatternLayout.PatternSelectorSerializer.toSerializable(LogEvent event) PatternLayout.PatternSelectorSerializer.toSerializable(LogEvent event, StringBuilder buffer) PatternLayout.PatternSerializerWithReplacement.toSerializable(LogEvent event) PatternLayout.PatternSerializerWithReplacement.toSerializable(LogEvent event, StringBuilder buf) PatternLayout.toSerializable(LogEvent event) Formats a logging event to a writer.Rfc5424Layout.toSerializable(LogEvent event) Formats aLogEventin conformance with the RFC 5424 Syslog specification.SerializedLayout.toSerializable(LogEvent event) Deprecated.Returns the LogEvent.SyslogLayout.toSerializable(LogEvent event) Formats aLogEventin conformance with the BSD Log record format.private StringBuilderPatternLayout.toText(AbstractStringLayout.Serializer2 serializer, LogEvent event, StringBuilder destination) Creates a text representation of the specified log event and writes it into the specified StringBuilder. -
Uses of LogEvent in org.apache.logging.log4j.core.lookup
Methods in org.apache.logging.log4j.core.lookup with parameters of type LogEventModifier and TypeMethodDescriptionResolves the specified variable.default LookupResultSame asStrLookup.lookup(LogEvent, String), but provides additional metadata describing the result.Looks up the value from the ThreadContext Map.Looks up d the current date or the date in the LogEvent.Looks up the value of the environment variable.Looks up the value from the logging event.Resolves the specified variable.Looks up the value of the environment variable.Looks up the value of the JNDI resource.Converts the "key" to lower case.Looks up the value for the key in the format "BundleName:BundleKey".Looks up a String key to a String value possibly using the current LogEvent.Looks up the value for the key using the data in the LogEvent.Looks up the value for the key using the data in the LogEvent.Converts the "key" to upper case.Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template.Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template.Replaces all the occurrences of variables in the given source object with their matching values from the resolver.Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template.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.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.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.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.Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template.booleanStrSubstitutor.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.booleanStrSubstitutor.replaceIn(LogEvent event, StringBuilder source) Replaces all the occurrences of variables within the given source builder with their matching values from the resolver.booleanStrSubstitutor.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 LookupResultStrSubstitutor.resolveVariable(LogEvent event, String variableName, StringBuilder buf, int startPos, int endPos) Internal method that resolves the value of a variable.protected booleanStrSubstitutor.substitute(LogEvent event, StringBuilder buf, int offset, int length) Internal method that substitutes the variables.private intStrSubstitutor.substitute(LogEvent event, StringBuilder buf, int offset, int length, List<String> priorVariables) Recursive handler for multiple levels of interpolation. -
Uses of LogEvent in org.apache.logging.log4j.core.net
Methods in org.apache.logging.log4j.core.net with parameters of type LogEventModifier and TypeMethodDescriptionabstract voidAdds an event to the cyclic buffer.abstract voidMailManager.sendEvents(Layout<?> layout, LogEvent appendEvent) Send the contents of the cyclic buffer as an e-mail message. -
Uses of LogEvent in org.apache.logging.log4j.core.pattern
Methods in org.apache.logging.log4j.core.pattern with parameters of type LogEventModifier and TypeMethodDescriptionvoidAbstractStyleNameConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidClassNamePatternConverter.format(LogEvent event, StringBuilder toAppendTo) Format a logging event.voidDatePatternConverter.format(LogEvent event, StringBuilder output) Formats an event into a string buffer.voidEncodingPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidEndOfBatchPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidEqualsBaseReplacementConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidExtendedThrowablePatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidFileLocationPatternConverter.format(LogEvent event, StringBuilder output) Formats an event into a string buffer.voidFullLocationPatternConverter.format(LogEvent event, StringBuilder output) Formats an event into a string buffer.voidHighlightConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidLevelPatternConverter.format(LogEvent event, StringBuilder output) Formats an event into a string buffer.voidLevelPatternConverter.LevelMapLevelPatternConverter.format(LogEvent event, StringBuilder output) Formats an event into a string buffer.voidLevelPatternConverter.SimpleLevelPatternConverter.format(LogEvent event, StringBuilder output) Formats an event into a string buffer.voidLineLocationPatternConverter.format(LogEvent event, StringBuilder output) Formats an event into a string buffer.voidLineSeparatorPatternConverter.format(LogEvent ignored, StringBuilder toAppendTo) Formats an event into a string buffer.voidLiteralPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.abstract voidLogEventPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidLoggerFqcnPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidLoggerPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidMapPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidMarkerPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidMarkerSimpleNamePatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidMaxLengthConverter.format(LogEvent event, StringBuilder toAppendTo) voidMdcPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidMessagePatternConverter.format(LogEvent event, StringBuilder toAppendTo) voidMessagePatternConverter.FormattedMessagePatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidMessagePatternConverter.RenderingPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidMessagePatternConverter.SimpleMessagePatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidMethodLocationPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidNanoTimePatternConverter.format(LogEvent event, StringBuilder output) Formats an event into a string buffer.voidNdcPatternConverter.format(LogEvent event, StringBuilder toAppendTo) voidPatternFormatter.format(LogEvent event, StringBuilder buf) voidProcessIdPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidRegexReplacementConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidRelativeTimePatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidRepeatPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Adds the repeated String to the buffer.voidRootThrowablePatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidSequenceNumberPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.final voidSimpleLiteralPatternConverter.format(LogEvent ignored, StringBuilder output) Formats an event into a string buffer.voidStyleConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidThreadIdPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidThreadNamePatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidThreadPriorityPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidThrowablePatternConverter.format(LogEvent event, StringBuilder buffer) Formats an event into a string buffer.voidUuidPatternConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidVariablesNotEmptyReplacementConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.private voidPatternFormatter.formatWithInfo(LogEvent event, StringBuilder buf) protected String(package private) voidEqualsBaseReplacementConverter.parseSubstitution(LogEvent event, StringBuilder substitutionBuffer) Adds the parsed substitution text to the specified buffer. -
Uses of LogEvent in org.apache.logging.log4j.smtp
Fields in org.apache.logging.log4j.smtp with type parameters of type LogEventMethods in org.apache.logging.log4j.smtp that return LogEventModifier and TypeMethodDescription(package private) LogEvent[]SmtpManager.removeAllBufferedEvents()Methods in org.apache.logging.log4j.smtp with parameters of type LogEventModifier and TypeMethodDescriptionvoidprivate voidprivate static jakarta.mail.internet.MimeMessageSmtpManager.createMimeMessage(MailManager.FactoryData data, jakarta.mail.Session session, LogEvent appendEvent) protected byte[]SmtpManager.formatContentToBytes(LogEvent[] priorEvents, LogEvent appendEvent, Layout<?> layout) voidSmtpManager.sendEvents(Layout<?> layout, LogEvent appendEvent) protected voidSmtpManager.writeBuffer(LogEvent[] priorEvents, LogEvent appendEvent, Layout<?> layout, OutputStream out) private voidSmtpManager.writeContent(LogEvent[] priorEvents, LogEvent appendEvent, Layout<?> layout, ByteArrayOutputStream out) -
Uses of LogEvent in org.apache.logging.log4j.web
Methods in org.apache.logging.log4j.web with parameters of type LogEvent -
Uses of LogEvent in org.apache.logging.log4j.web.appender
Methods in org.apache.logging.log4j.web.appender with parameters of type LogEvent