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
LoggingAdapter
that publishesLogging.LogEvent
to 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 LoggingBus
bus()
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isInfoEnabled()
boolean
isWarningEnabled()
java.lang.Class<?>
logClass()
java.lang.String
logSource()
protected void
notifyDebug(java.lang.String message)
protected void
notifyError(java.lang.String message)
protected void
notifyError(java.lang.Throwable cause, java.lang.String message)
protected void
notifyInfo(java.lang.String message)
protected void
notifyWarning(java.lang.String message)
protected void
notifyWarning(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:
isDebugEnabled
in interfaceLoggingAdapter
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceLoggingAdapter
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceLoggingAdapter
-
isWarningEnabled
public boolean isWarningEnabled()
- Specified by:
isWarningEnabled
in interfaceLoggingAdapter
-
logClass
public java.lang.Class<?> logClass()
-
logSource
public java.lang.String logSource()
-
notifyDebug
protected void notifyDebug(java.lang.String message)
- Specified by:
notifyDebug
in interfaceLoggingAdapter
-
notifyError
protected void notifyError(java.lang.String message)
- Specified by:
notifyError
in interfaceLoggingAdapter
-
notifyError
protected void notifyError(java.lang.Throwable cause, java.lang.String message)
- Specified by:
notifyError
in interfaceLoggingAdapter
-
notifyInfo
protected void notifyInfo(java.lang.String message)
- Specified by:
notifyInfo
in interfaceLoggingAdapter
-
notifyWarning
protected void notifyWarning(java.lang.String message)
- Specified by:
notifyWarning
in interfaceLoggingAdapter
-
notifyWarning
protected void notifyWarning(java.lang.Throwable cause, java.lang.String message)
- Specified by:
notifyWarning
in interfaceLoggingAdapter
-
-