Uses of Class
org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
Package
Description
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Log4j 2 private implementation classes.
-
Uses of Log4jLogEvent.Builder in org.apache.logging.log4j.core.async
Modifier and TypeMethodDescriptionvoid
RingBufferLogEvent.initializeBuilder
(Log4jLogEvent.Builder builder) Initializes the specifiedLog4jLogEvent.Builder
from thisRingBufferLogEvent
. -
Uses of Log4jLogEvent.Builder in org.apache.logging.log4j.core.impl
Modifier and TypeMethodDescriptionLog4jLogEvent.asBuilder()
Returns a new fully initializedLog4jLogEvent.Builder
containing a copy of all fields of this event.static Log4jLogEvent.Builder
Log4jLogEvent.newBuilder()
Returns a new emptyLog4jLogEvent.Builder
with all fields empty.Log4jLogEvent.Builder.setContextData
(StringMap contextData) Log4jLogEvent.Builder.setContextMap
(Map<String, String> contextMap) Deprecated.Log4jLogEvent.Builder.setContextStack
(ThreadContext.ContextStack contextStack) Log4jLogEvent.Builder.setEndOfBatch
(boolean endOfBatch) Log4jLogEvent.Builder.setIncludeLocation
(boolean includeLocation) Log4jLogEvent.Builder.setInstant
(Instant instant) Log4jLogEvent.Builder.setLoggerFqcn
(String loggerFqcn) Log4jLogEvent.Builder.setLoggerName
(String loggerName) Log4jLogEvent.Builder.setMessage
(Message message) Log4jLogEvent.Builder.setNanoTime
(long nanoTime) Sets the nano time for the event.Log4jLogEvent.Builder.setSource
(StackTraceElement source) Log4jLogEvent.Builder.setThreadId
(long threadId) Log4jLogEvent.Builder.setThreadName
(String threadName) Log4jLogEvent.Builder.setThreadPriority
(int threadPriority) Log4jLogEvent.Builder.setThrownProxy
(ThrowableProxy thrownProxy) Log4jLogEvent.Builder.setTimeMillis
(long timeMillis) Modifier and TypeMethodDescriptionvoid
MutableLogEvent.initializeBuilder
(Log4jLogEvent.Builder builder) Initializes the specifiedLog4jLogEvent.Builder
from thisMutableLogEvent
.