Uses of Interface
org.apache.logging.log4j.LogBuilder
Packages that use LogBuilder
Package
Description
Public API for Log4j 2.
Implementation of Log4j 2.
This package should be considered private.
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
SLF4J support.
-
Uses of LogBuilder in org.apache.logging.log4j
Fields in org.apache.logging.log4j declared as LogBuilderMethods in org.apache.logging.log4j that return LogBuilderModifier and TypeMethodDescriptiondefault LogBuilder
Logger.always()
Construct a log event that will always be logged.default LogBuilder
Logger.atDebug()
Construct a trace log event.default LogBuilder
Logger.atError()
Construct a trace log event.default LogBuilder
Logger.atFatal()
Construct a trace log event.default LogBuilder
Logger.atInfo()
Construct a trace log event.default LogBuilder
Construct a log event.default LogBuilder
Logger.atTrace()
Construct a trace log event.default LogBuilder
Logger.atWarn()
Construct a trace log event.default LogBuilder
LogBuilder.withLocation()
An implementation will calculate the caller's stack frame and include it in the log event.default LogBuilder
LogBuilder.withLocation
(StackTraceElement location) Adds the specified stack trace element to the log event.default LogBuilder
LogBuilder.withMarker
(Marker marker) Includes a Marker in the log event.default LogBuilder
LogBuilder.withThrowable
(Throwable throwable) Includes a Throwable in the log event. -
Uses of LogBuilder in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return LogBuilder -
Uses of LogBuilder in org.apache.logging.log4j.internal
Classes in org.apache.logging.log4j.internal that implement LogBuilderModifier and TypeClassDescriptionclass
Collects data for a log event and then logs it.Methods in org.apache.logging.log4j.internal that return LogBuilderModifier and TypeMethodDescriptionDefaultLogBuilder.reset
(ExtendedLogger logger, Level level) This method should be considered internal.DefaultLogBuilder.withLocation()
DefaultLogBuilder.withLocation
(StackTraceElement location) DefaultLogBuilder.withMarker
(Marker marker) DefaultLogBuilder.withThrowable
(Throwable throwable) -
Uses of LogBuilder in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi that return LogBuilderModifier and TypeMethodDescriptionAbstractLogger.always()
Construct a log event that will always be logged.AbstractLogger.atDebug()
Construct a debug log event.AbstractLogger.atError()
Construct an error log event.AbstractLogger.atFatal()
Construct a fatal log event.AbstractLogger.atInfo()
Construct an informational log event.Construct a log event.AbstractLogger.atTrace()
Construct a trace log event.AbstractLogger.atWarn()
Construct a warning log event.protected LogBuilder
AbstractLogger.getLogBuilder
(Level level) Returns a log builder that logs at the specified level. -
Uses of LogBuilder in org.apache.logging.slf4j
Classes in org.apache.logging.slf4j that implement LogBuilderMethods in org.apache.logging.slf4j that return LogBuilderModifier and TypeMethodDescriptionSLF4JLogger.always()
SLF4JLogger.atDebug()
SLF4JLogger.atError()
SLF4JLogger.atFatal()
SLF4JLogger.atInfo()
SLF4JLogger.atTrace()
SLF4JLogger.atWarn()
protected LogBuilder
SLF4JLogger.getLogBuilder
(Level level) SLF4JLogBuilder.reset
(SLF4JLogger logger, Level level) SLF4JLogBuilder.withLocation()
SLF4JLogBuilder.withLocation
(StackTraceElement location) SLF4JLogBuilder.withMarker
(Marker marker) SLF4JLogBuilder.withThrowable
(Throwable throwable)