Log an debug msg that contains the result of the passed in func.
Log an debug msg that contains the result of the passed in func.
A string containing a single %s which will be replaced with the result of func.
The function returning a future whose result will be placed in msg.
Result of func
Initialize the MDC integration.
Initialize the MDC integration. This methods ensures the default MDC initialization runs and swaps out the default MDCAdapter for the framework Finagle-aware implementation: com.twitter.inject.logging.FinagleMDCAdapter
org.slf4j.FinagleMDCInitializer.init()
Initializes the value of the MDC to the given java.util.HashMap only for the scope of the
current com.twitter.finagle.context.LocalContext for the given function fn
.
Initializes the value of the MDC to the given java.util.HashMap only for the scope of the
current com.twitter.finagle.context.LocalContext for the given function fn
.
the java.util.HashMap to set as the initial MDC state.
the function to execute with the given LocalContext.
the result of executing the function fn
.
Initializes the value of the MDC to a new empty java.util.HashMap only for the scope of the
current com.twitter.finagle.context.LocalContext for the given function fn
.
Initializes the value of the MDC to a new empty java.util.HashMap only for the scope of the
current com.twitter.finagle.context.LocalContext for the given function fn
.
the function to execute with the given LocalContext.
the result of executing the function fn
.
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.
com.twitter.finagle.context.LocalContext
com.twitter.inject.logging.FinagleMDCAdapter
Mapped Diagnostic Context