Interface LoggingContext
- All Known Subinterfaces:
BindingContext
,Component
,InternalSession
,Page
,PerspectiveElement
,Session
,View
- All Known Implementing Classes:
AbstractBindingHarness
,AbstractSession
,ComponentModel
,DesignerComponentModel
,DesignerPageModel
,DesignerViewModel
,ElementBindingHarness
,PageModel
,PerspectiveDesignSession
,PerspectiveProjectSession
,SecuredPerspectiveProjectSession
,SessionKernelWrapper
,ViewModel
public interface LoggingContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Run the argument inside of a block where MDC is set up.void
mdcSetup()
Set up the MDC keys for this contextdefault void
void
Tear down the MDC keys that are added in #mdcSetupdefault void
default Runnable
Create a runnable that will run the argument inside of a block where MDC is set up.
-
Method Details
-
getLogger
LoggerEx getLogger() -
getMdcParent
-
mdcSetup
void mdcSetup()Set up the MDC keys for this context -
mdcTeardown
void mdcTeardown()Tear down the MDC keys that are added in #mdcSetup -
mdcSetupTree
default void mdcSetupTree() -
mdcTeardownTree
default void mdcTeardownTree() -
mdcWrap
Create a runnable that will run the argument inside of a block where MDC is set up. -
mdc
Run the argument inside of a block where MDC is set up.
-