Interface LogContextSelector

All Known Implementing Classes:
CallerClassLoaderLogContextSelector, ClassLoaderLogContextSelector, ContextClassLoaderLogContextSelector, ThreadLocalLogContextSelector

public interface LogContextSelector
A mechanism for determining what the current log context is. This method is used primarily when constructing new loggers to determine what context the constructed logger should be installed into.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the current log context.
  • Method Details

    • getLogContext

      LogContext getLogContext()
      Get the current log context.
      Returns:
      the current log context