Uses of Interface
org.apache.logging.log4j.LogBuilder
-
Packages that use LogBuilder Package Description org.apache.logging.log4j Public API for Log4j 2.org.apache.logging.log4j.internal This package should be considered private.org.apache.logging.log4j.spi 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 LogBuilder Modifier and Type Field Description static LogBuilderLogBuilder. NOOPMethods in org.apache.logging.log4j that return LogBuilder Modifier and Type Method Description default 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 LogBuilderLogger. atLevel(Level level)Construct 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.internal
Classes in org.apache.logging.log4j.internal that implement LogBuilder Modifier and Type Class Description classDefaultLogBuilderCollects data for a log event and then logs it.Methods in org.apache.logging.log4j.internal that return LogBuilder Modifier and Type Method Description LogBuilderDefaultLogBuilder. reset(Level level)This method should be considered internal.LogBuilderDefaultLogBuilder. withLocation()LogBuilderDefaultLogBuilder. withLocation(StackTraceElement location)LogBuilderDefaultLogBuilder. withMarker(Marker marker)LogBuilderDefaultLogBuilder. withThrowable(Throwable throwable) -
Uses of LogBuilder in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi that return LogBuilder Modifier and Type Method Description LogBuilderAbstractLogger. always()Construct a fatal log event.LogBuilderAbstractLogger. atDebug()Construct a debug log event.LogBuilderAbstractLogger. atError()Construct an error log event.LogBuilderAbstractLogger. atFatal()Construct a fatal log event.LogBuilderAbstractLogger. atInfo()Construct an informational log event.LogBuilderAbstractLogger. atLevel(Level level)Construct a log event.LogBuilderAbstractLogger. atTrace()Construct a trace log event.LogBuilderAbstractLogger. atWarn()Construct a warning log event.
-