Uses of Interface
org.apache.logging.log4j.LogBuilder
Packages that use LogBuilder
Package
Description
Public API for Log4j 2.
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
-
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.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.