public final class ReplicatedEntityPrefixLoggingAdapter extends ReplicatedEntityLoggingAdapter implements akka.event.DiagnosticLoggingAdapter
Allows MDC and Markers to be used by default in Replicated Entities. Adds a string prefix to each log statement containing the persistenceId of the entity.
| Constructor and Description |
|---|
ReplicatedEntityPrefixLoggingAdapter(java.lang.String replicatedEntityPersistenceId,
akka.event.LoggingBus bus,
java.lang.String logSource,
java.lang.Class<?> logClass,
akka.event.LoggingFilter loggingFilter) |
| Modifier and Type | Method and Description |
|---|---|
akka.event.LoggingBus |
bus() |
java.lang.Class<?> |
logClass() |
akka.event.LoggingFilter |
loggingFilter() |
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) |
java.lang.String |
replicatedEntityPersistenceId() |
applydebug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarningEnabled, loggingFilterWithMarker, warning, warning, warning, warning, warningdebug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, format, info, info, info, info, info, isDebugEnabled, isEnabled, isErrorEnabled, isInfoEnabled, isWarningEnabled, log, log, log, log, log, mdc, notifyLog, warning, warning, warning, warning, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitakka$event$DiagnosticLoggingAdapter$$_mdc_$eq, akka$event$DiagnosticLoggingAdapter$$_mdc, clearMDC, getMDC, mdc, mdc, setMDCdebug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, format, info, info, info, info, info, isDebugEnabled, isEnabled, isErrorEnabled, isInfoEnabled, isWarningEnabled, log, log, log, log, log, notifyLog, warning, warning, warning, warning, warningpublic ReplicatedEntityPrefixLoggingAdapter(java.lang.String replicatedEntityPersistenceId,
akka.event.LoggingBus bus,
java.lang.String logSource,
java.lang.Class<?> logClass,
akka.event.LoggingFilter loggingFilter)
public akka.event.LoggingBus bus()
bus in class ReplicatedEntityLoggingAdapterpublic java.lang.Class<?> logClass()
logClass in class ReplicatedEntityLoggingAdapterpublic java.lang.String logSource()
logSource in class ReplicatedEntityLoggingAdapterpublic akka.event.LoggingFilter loggingFilter()
protected void notifyDebug(java.lang.String message)
notifyDebug in interface akka.event.LoggingAdapternotifyDebug in class akka.event.BusLoggingprotected void notifyError(java.lang.String message)
notifyError in interface akka.event.LoggingAdapternotifyError in class akka.event.BusLoggingprotected void notifyError(java.lang.Throwable cause,
java.lang.String message)
notifyError in interface akka.event.LoggingAdapternotifyError in class akka.event.BusLoggingprotected void notifyInfo(java.lang.String message)
notifyInfo in interface akka.event.LoggingAdapternotifyInfo in class akka.event.BusLoggingprotected void notifyWarning(java.lang.String message)
notifyWarning in interface akka.event.LoggingAdapternotifyWarning in class akka.event.BusLoggingpublic java.lang.String replicatedEntityPersistenceId()