Package org.apache.pekko.event
Class BusLogging
java.lang.Object
org.apache.pekko.event.BusLogging
- All Implemented Interfaces:
LoggingAdapter
- Direct Known Subclasses:
MarkerLoggingAdapter
pekko.event.LoggingAdapter that publishes pekko.event.Logging.LogEvent to event stream.-
Constructor Summary
ConstructorsConstructorDescriptionBusLogging(LoggingBus bus, String logSource, Class<?> logClass) BusLogging(LoggingBus bus, String logSource, Class<?> logClass, LoggingFilter loggingFilter) -
Method Summary
Modifier and TypeMethodDescriptionbus()booleanbooleanbooleanbooleanClass<?>logClass()protected voidnotifyDebug(String message) protected voidnotifyError(String message) protected voidnotifyError(Throwable cause, String message) protected voidnotifyInfo(String message) protected voidnotifyWarning(String message) protected voidnotifyWarning(Throwable cause, String message) Methods 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
-
BusLogging
-
BusLogging
-
-
Method Details
-
bus
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceLoggingAdapter
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabledin interfaceLoggingAdapter
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabledin interfaceLoggingAdapter
-
isWarningEnabled
public boolean isWarningEnabled()- Specified by:
isWarningEnabledin interfaceLoggingAdapter
-
logClass
-
logSource
-
notifyDebug
- Specified by:
notifyDebugin interfaceLoggingAdapter
-
notifyError
- Specified by:
notifyErrorin interfaceLoggingAdapter
-
notifyError
- Specified by:
notifyErrorin interfaceLoggingAdapter
-
notifyInfo
- Specified by:
notifyInfoin interfaceLoggingAdapter
-
notifyWarning
- Specified by:
notifyWarningin interfaceLoggingAdapter
-
notifyWarning
- Specified by:
notifyWarningin interfaceLoggingAdapter
-