Package akka.event
Class BusLogging
- java.lang.Object
-
- akka.event.BusLogging
-
- All Implemented Interfaces:
LoggingAdapter
- Direct Known Subclasses:
MarkerLoggingAdapter
public class BusLogging extends java.lang.Object implements LoggingAdapter
LoggingAdapterthat publishesLogging.LogEventto event stream.
-
-
Constructor Summary
Constructors Constructor Description BusLogging(LoggingBus bus, java.lang.String logSource, java.lang.Class<?> logClass)BusLogging(LoggingBus bus, java.lang.String logSource, java.lang.Class<?> logClass, LoggingFilter loggingFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingBusbus()booleanisDebugEnabled()booleanisErrorEnabled()booleanisInfoEnabled()booleanisWarningEnabled()java.lang.Class<?>logClass()java.lang.StringlogSource()protected voidnotifyDebug(java.lang.String message)protected voidnotifyError(java.lang.String message)protected voidnotifyError(java.lang.Throwable cause, java.lang.String message)protected voidnotifyInfo(java.lang.String message)protected voidnotifyWarning(java.lang.String message)protected voidnotifyWarning(java.lang.Throwable cause, java.lang.String message)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.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 Detail
-
BusLogging
public BusLogging(LoggingBus bus, java.lang.String logSource, java.lang.Class<?> logClass, LoggingFilter loggingFilter)
-
BusLogging
public BusLogging(LoggingBus bus, java.lang.String logSource, java.lang.Class<?> logClass)
-
-
Method Detail
-
bus
public LoggingBus 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
public java.lang.Class<?> logClass()
-
logSource
public java.lang.String logSource()
-
notifyDebug
protected void notifyDebug(java.lang.String message)
- Specified by:
notifyDebugin interfaceLoggingAdapter
-
notifyError
protected void notifyError(java.lang.String message)
- Specified by:
notifyErrorin interfaceLoggingAdapter
-
notifyError
protected void notifyError(java.lang.Throwable cause, java.lang.String message)- Specified by:
notifyErrorin interfaceLoggingAdapter
-
notifyInfo
protected void notifyInfo(java.lang.String message)
- Specified by:
notifyInfoin interfaceLoggingAdapter
-
notifyWarning
protected void notifyWarning(java.lang.String message)
- Specified by:
notifyWarningin interfaceLoggingAdapter
-
notifyWarning
protected void notifyWarning(java.lang.Throwable cause, java.lang.String message)- Specified by:
notifyWarningin interfaceLoggingAdapter
-
-