public class BusLogging extends java.lang.Object implements LoggingAdapter
LoggingAdapter that publishes Logging.LogEvent to event stream.| Constructor and Description |
|---|
BusLogging(EventStream bus,
java.lang.String logSource,
java.lang.Class<?> logClass,
LoggingFilter loggingFilter) |
| Modifier and Type | Method and Description |
|---|---|
EventStream |
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, waitdebug, 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, warningpublic BusLogging(EventStream bus, java.lang.String logSource, java.lang.Class<?> logClass, LoggingFilter loggingFilter)
public EventStream bus()
public java.lang.String logSource()
public java.lang.Class<?> logClass()
public boolean isErrorEnabled()
isErrorEnabled in interface LoggingAdapterpublic boolean isWarningEnabled()
isWarningEnabled in interface LoggingAdapterpublic boolean isInfoEnabled()
isInfoEnabled in interface LoggingAdapterpublic boolean isDebugEnabled()
isDebugEnabled in interface LoggingAdapterprotected void notifyError(java.lang.String message)
notifyError in interface LoggingAdapterprotected void notifyError(java.lang.Throwable cause,
java.lang.String message)
notifyError in interface LoggingAdapterprotected void notifyWarning(java.lang.String message)
notifyWarning in interface LoggingAdapterprotected void notifyInfo(java.lang.String message)
notifyInfo in interface LoggingAdapterprotected void notifyDebug(java.lang.String message)
notifyDebug in interface LoggingAdapter