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 LogBuilderLogger.always()Construct a log event that will always be logged.default LogBuilderLogger.atDebug()Construct a trace log event.default LogBuilderLogger.atError()Construct a trace log event.default LogBuilderLogger.atFatal()Construct a trace log event.default LogBuilderLogger.atInfo()Construct a trace log event.default LogBuilderConstruct a log event.default LogBuilderLogger.atTrace()Construct a trace log event.default LogBuilderLogger.atWarn()Construct a trace log event.default LogBuilderLogBuilder.withLocation()An implementation will calculate the caller's stack frame and include it in the log event.default LogBuilderLogBuilder.withLocation(StackTraceElement location) Adds the specified stack trace element to the log event.default LogBuilderLogBuilder.withMarker(Marker marker) Includes a Marker in the log event.default LogBuilderLogBuilder.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 LogBuilderAbstractLogger.getLogBuilder(Level level) Returns a log builder that logs at the specified level.