package logging
- Alphabetic
- Public
- Protected
Type Members
- final class FinagleMDCAdapter extends MDCAdapter
Implementation of the org.slf4j.spi.MDCAdapter which stores the backing map as a com.twitter.finagle.context.LocalContext via a com.twitter.finagle.context.Contexts.local.
Implementation of the org.slf4j.spi.MDCAdapter which stores the backing map as a com.twitter.finagle.context.LocalContext via a com.twitter.finagle.context.Contexts.local.
- Note
Users are not expected to interact with this MDCAdapter directly. Users should use the framework MDC API, via com.twitter.inject.logging.MDCInitializer.
,if access to the org.slf4j.MDC is done without first calling com.twitter.inject.logging.MDCInitializer.let these operations are all effectively no-ops.
- See also
Value Members
- object MDCInitializer extends util.logging.Logging
Local contexts helpers for the framework SLF4J MDC integration FinagleMDCAdapter.
Local contexts helpers for the framework SLF4J MDC integration FinagleMDCAdapter. The backing of the adapter is stored as a com.twitter.finagle.context.LocalContext.
Local contexts have lifetimes bound by Finagle server requests. They are local to the process, that is they are not propagated to other services.
- object MDCKeys
Keys for common MDC values