Package org.apache.pekko.event
Class MarkerLoggingAdapter
java.lang.Object
org.apache.pekko.event.BusLogging
org.apache.pekko.event.MarkerLoggingAdapter
- All Implemented Interfaces:
LoggingAdapter
- Direct Known Subclasses:
DiagnosticMarkerBusLoggingAdapter,NoMarkerLogging$
LoggingAdapter extension which adds Marker support.-
Constructor Summary
ConstructorsConstructorDescriptionMarkerLoggingAdapter(LoggingBus bus, String logSource, Class<?> logClass) MarkerLoggingAdapter(LoggingBus bus, String logSource, Class<?> logClass, LoggingFilter loggingFilter) -
Method Summary
Modifier and TypeMethodDescriptionbus()voidLog message at debug level.voidMessage template with 1 replacement argument.voidMessage template with 2 replacement arguments.voidMessage template with 3 replacement arguments.voidMessage template with 4 replacement arguments.voidLog message at error level, without providing the exception that caused the error.voidMessage template with 1 replacement argument.voidMessage template with 2 replacement arguments.voidMessage template with 3 replacement arguments.voidMessage template with 4 replacement arguments.voidLog message at error level, including the exception that caused the error.voidMessage template with 1 replacement argument.voidMessage template with 2 replacement arguments.voidMessage template with 3 replacement arguments.voiderror(LogMarker marker, Throwable cause, String template, Object arg1, Object arg2, Object arg3, Object arg4) Message template with 4 replacement arguments.voidLog message at info level.voidMessage template with 1 replacement argument.voidMessage template with 2 replacement arguments.voidMessage template with 3 replacement arguments.voidMessage template with 4 replacement arguments.booleanisDebugEnabled(LogMarker marker) booleanisErrorEnabled(LogMarker marker) booleanisInfoEnabled(LogMarker marker) booleanisWarningEnabled(LogMarker marker) voidlog(LogMarker marker, Logging.LogLevel level, String message) Log message at the specified log level.Class<?>logClass()voidLog message at warning level.voidMessage template with 1 replacement argument.voidMessage template with 2 replacement arguments.voidMessage template with 3 replacement arguments.voidMessage template with 4 replacement arguments.Methods inherited from class org.apache.pekko.event.BusLogging
isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarningEnabled, notifyDebug, notifyError, notifyError, notifyInfo, notifyWarning, notifyWarningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.event.LoggingAdapter
debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, format, format1, formatImpl, info, info, info, info, info, isEnabled, log, log, log, log, log, mdc, notifyLog, warning, warning, warning, warning, warning, warning, warning, warning, warning, warning
-
Constructor Details
-
MarkerLoggingAdapter
public MarkerLoggingAdapter(LoggingBus bus, String logSource, Class<?> logClass, LoggingFilter loggingFilter) -
MarkerLoggingAdapter
-
-
Method Details
-
bus
- Overrides:
busin classBusLogging
-
debug
Log message at debug level. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
debug
Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".If
arg1is anArrayit will be expanded into replacement arguments, which is useful when there are more than four arguments.- See Also:
-
debug
Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
debug
Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
debug
public void debug(LogMarker marker, String template, Object arg1, Object arg2, Object arg3, Object arg4) Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
error
Log message at error level, including the exception that caused the error. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
error
Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".If
arg1is anArrayit will be expanded into replacement arguments, which is useful when there are more than four arguments.- See Also:
-
error
Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
error
public void error(LogMarker marker, Throwable cause, String template, Object arg1, Object arg2, Object arg3) Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
error
public void error(LogMarker marker, Throwable cause, String template, Object arg1, Object arg2, Object arg3, Object arg4) Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
error
Log message at error level, without providing the exception that caused the error. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
error
Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".If
arg1is anArrayit will be expanded into replacement arguments, which is useful when there are more than four arguments.- See Also:
-
error
Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
error
Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
error
public void error(LogMarker marker, String template, Object arg1, Object arg2, Object arg3, Object arg4) Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
info
Log message at info level. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
info
Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".If
arg1is anArrayit will be expanded into replacement arguments, which is useful when there are more than four arguments.- See Also:
-
info
Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
info
Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
info
public void info(LogMarker marker, String template, Object arg1, Object arg2, Object arg3, Object arg4) Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
isDebugEnabled
-
isErrorEnabled
-
isInfoEnabled
-
isWarningEnabled
-
log
Log message at the specified log level. -
logClass
- Overrides:
logClassin classBusLogging
-
logSource
- Overrides:
logSourcein classBusLogging
-
loggingFilterWithMarker
-
warning
Log message at warning level. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
warning
Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".If
arg1is anArrayit will be expanded into replacement arguments, which is useful when there are more than four arguments.- See Also:
-
warning
Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
warning
Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-
warning
public void warning(LogMarker marker, String template, Object arg1, Object arg2, Object arg3, Object arg4) Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".- See Also:
-