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 voidRun the argument inside of a block where MDC is set up.voidmdcSetup()Set up the MDC keys for this contextdefault voidvoidTear down the MDC keys that are added in #mdcSetupdefault voiddefault RunnableCreate 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.
-