akka.event
Class BusLogging
java.lang.Object
akka.event.BusLogging
- All Implemented Interfaces:
- LoggingAdapter
public class BusLogging
- extends java.lang.Object
- implements LoggingAdapter
LoggingAdapter
that publishes Logging.LogEvent
to event stream.
Constructor Summary |
BusLogging(LoggingBus bus,
java.lang.String logSource,
java.lang.Class<?> logClass)
|
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, info, info, info, info, info, isEnabled, log, log, log, log, log, mdc, notifyLog, warning, warning, warning, warning, warning |
BusLogging
public BusLogging(LoggingBus bus,
java.lang.String logSource,
java.lang.Class<?> logClass)
bus
public LoggingBus bus()
logSource
public java.lang.String logSource()
logClass
public java.lang.Class<?> logClass()
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface LoggingAdapter
isWarningEnabled
public boolean isWarningEnabled()
- Specified by:
isWarningEnabled
in interface LoggingAdapter
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface LoggingAdapter
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface LoggingAdapter
notifyError
protected void notifyError(java.lang.String message)
- Specified by:
notifyError
in interface LoggingAdapter
notifyError
protected void notifyError(java.lang.Throwable cause,
java.lang.String message)
- Specified by:
notifyError
in interface LoggingAdapter
notifyWarning
protected void notifyWarning(java.lang.String message)
- Specified by:
notifyWarning
in interface LoggingAdapter
notifyInfo
protected void notifyInfo(java.lang.String message)
- Specified by:
notifyInfo
in interface LoggingAdapter
notifyDebug
protected void notifyDebug(java.lang.String message)
- Specified by:
notifyDebug
in interface LoggingAdapter