Packages

package logging

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. 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

    com.twitter.inject.logging.MDCInitializer

    com.twitter.finagle.context.Contexts.local

    com.twitter.finagle.context.LocalContext

Value Members

  1. 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.

    See also

    Mapped Diagnostic Context

    com.twitter.inject.logging.FinagleMDCAdapter

    com.twitter.finagle.context.LocalContext

  2. object MDCKeys

    Keys for common MDC values

Ungrouped