Clear all entries in the MDC
Message template with 4 replacement arguments.
Message template with 4 replacement arguments.
Message template with 3 replacement arguments.
Message template with 3 replacement arguments.
Message template with 2 replacement arguments.
Message template with 2 replacement arguments.
Message template with 1 replacement argument.
Message template with 1 replacement argument.
Log message at debug level.
Log message at debug level.
Message template with 4 replacement arguments.
Message template with 4 replacement arguments.
Message template with 3 replacement arguments.
Message template with 3 replacement arguments.
Message template with 2 replacement arguments.
Message template with 2 replacement arguments.
Message template with 1 replacement argument.
Message template with 1 replacement argument.
Log message at error level, without providing the exception that caused the error.
Log message at error level, without providing the exception that caused the error.
Message template with 4 replacement arguments.
Message template with 4 replacement arguments.
Message template with 3 replacement arguments.
Message template with 3 replacement arguments.
Message template with 2 replacement arguments.
Message template with 2 replacement arguments.
Message template with 1 replacement argument.
Message template with 1 replacement argument.
Log message at error level, including the exception that caused the error.
Log message at error level, including the exception that caused the error.
Java API: Mapped Diagnostic Context for application defined values which can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured.
Java API:
Mapped Diagnostic Context for application defined values
which can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured.
Visit Logback Docs: MDC for more information.
Note tha it returns a COPY of the actual MDC values.
You cannot modify any value by changing the returned Map.
Code like the following won't have any effect unless you set back the modified Map.
Map mdc = log.getMDC();
mdc.put("key", value);
// NEEDED
log.setMDC(mdc);
A copy of the actual MDC values
Message template with 4 replacement arguments.
Message template with 4 replacement arguments.
Message template with 3 replacement arguments.
Message template with 3 replacement arguments.
Message template with 2 replacement arguments.
Message template with 2 replacement arguments.
Message template with 1 replacement argument.
Message template with 1 replacement argument.
Log message at info level.
Log message at info level.
true if the specified log level is enabled
Message template with 4 replacement arguments.
Message template with 4 replacement arguments.
Message template with 3 replacement arguments.
Message template with 3 replacement arguments.
Message template with 2 replacement arguments.
Message template with 2 replacement arguments.
Message template with 1 replacement argument.
Message template with 1 replacement argument.
Log message at the specified log level.
Log message at the specified log level.
Scala API: Sets the values to be added to the MDC (Mapped Diagnostic Context) before the log is appended.
Scala API: Sets the values to be added to the MDC (Mapped Diagnostic Context) before the log is appended. These values can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured. Visit Logback Docs: MDC for more information.
Scala API: Mapped Diagnostic Context for application defined values which can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured.
Scala API: Mapped Diagnostic Context for application defined values which can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured. Visit Logback Docs: MDC for more information.
A Map containing the MDC values added by the application, or empty Map if no value was added.
Java API: Sets the values to be added to the MDC (Mapped Diagnostic Context) before the log is appended.
Java API: Sets the values to be added to the MDC (Mapped Diagnostic Context) before the log is appended. These values can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured. Visit Logback Docs: MDC for more information.
Message template with 4 replacement arguments.
Message template with 4 replacement arguments.
Message template with 3 replacement arguments.
Message template with 3 replacement arguments.
Message template with 2 replacement arguments.
Message template with 2 replacement arguments.
Message template with 1 replacement argument.
Message template with 1 replacement argument.
Log message at warning level.
Log message at warning level.
LoggingAdapter extension which adds MDC support. Only recommended to be used within Actors as it isn't thread safe.