public class BusLogging extends java.lang.Object implements LoggingAdapter
LoggingAdapter
that publishes Logging.LogEvent
to event stream.Constructor and 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) |
Modifier and Type | Method and 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public BusLogging(LoggingBus bus, java.lang.String logSource, java.lang.Class<?> logClass, LoggingFilter loggingFilter)
public BusLogging(LoggingBus bus, java.lang.String logSource, java.lang.Class<?> logClass)
public LoggingBus bus()
public java.lang.String logSource()
public java.lang.Class<?> logClass()
public boolean isErrorEnabled()
isErrorEnabled
in interface LoggingAdapter
public boolean isWarningEnabled()
isWarningEnabled
in interface LoggingAdapter
public boolean isInfoEnabled()
isInfoEnabled
in interface LoggingAdapter
public boolean isDebugEnabled()
isDebugEnabled
in interface LoggingAdapter
protected void notifyError(java.lang.String message)
notifyError
in interface LoggingAdapter
protected void notifyError(java.lang.Throwable cause, java.lang.String message)
notifyError
in interface LoggingAdapter
protected void notifyWarning(java.lang.String message)
notifyWarning
in interface LoggingAdapter
protected void notifyInfo(java.lang.String message)
notifyInfo
in interface LoggingAdapter
protected void notifyDebug(java.lang.String message)
notifyDebug
in interface LoggingAdapter