Class LogwoodProvider

java.lang.Object
io.jstach.logwood.spi.LogwoodProvider
All Implemented Interfaces:
org.slf4j.ILoggerFactory, org.slf4j.spi.MDCAdapter, org.slf4j.spi.SLF4JServiceProvider

public class LogwoodProvider extends Object implements org.slf4j.spi.SLF4JServiceProvider, org.slf4j.ILoggerFactory, org.slf4j.spi.MDCAdapter
  • Constructor Details

  • Method Details

    • initialize

      public void initialize()
      Specified by:
      initialize in interface org.slf4j.spi.SLF4JServiceProvider
    • getLoggerFactory

      public org.slf4j.ILoggerFactory getLoggerFactory()
      Specified by:
      getLoggerFactory in interface org.slf4j.spi.SLF4JServiceProvider
    • getMarkerFactory

      public org.slf4j.IMarkerFactory getMarkerFactory()
      Specified by:
      getMarkerFactory in interface org.slf4j.spi.SLF4JServiceProvider
    • getMDCAdapter

      public org.slf4j.spi.MDCAdapter getMDCAdapter()
      Specified by:
      getMDCAdapter in interface org.slf4j.spi.SLF4JServiceProvider
    • getRequestedApiVersion

      Specified by:
      getRequestedApiVersion in interface org.slf4j.spi.SLF4JServiceProvider
    • getLogger

      public org.slf4j.Logger getLogger(String name)
      Specified by:
      getLogger in interface org.slf4j.ILoggerFactory
    • put

      public void put(String key, @Nullable String value)
      Specified by:
      put in interface org.slf4j.spi.MDCAdapter
    • get

      public @Nullable String get(String key)
      Specified by:
      get in interface org.slf4j.spi.MDCAdapter
    • remove

      public void remove(String key)
      Specified by:
      remove in interface org.slf4j.spi.MDCAdapter
    • clear

      public void clear()
      Specified by:
      clear in interface org.slf4j.spi.MDCAdapter
    • getCopyOfContextMap

      public @Nullable Map<String, @Nullable String> getCopyOfContextMap()
      Specified by:
      getCopyOfContextMap in interface org.slf4j.spi.MDCAdapter
    • setContextMap

      public void setContextMap(@Nullable Map<String, @Nullable String> contextMap)
      Specified by:
      setContextMap in interface org.slf4j.spi.MDCAdapter
    • pushByKey

      public void pushByKey(String key, String value)
      Specified by:
      pushByKey in interface org.slf4j.spi.MDCAdapter
    • popByKey

      public @Nullable String popByKey(String key)
      Specified by:
      popByKey in interface org.slf4j.spi.MDCAdapter
    • getCopyOfDequeByKey

      public @Nullable Deque<String> getCopyOfDequeByKey(String key)
      Specified by:
      getCopyOfDequeByKey in interface org.slf4j.spi.MDCAdapter
    • clearDequeByKey

      public void clearDequeByKey(String key)
      Specified by:
      clearDequeByKey in interface org.slf4j.spi.MDCAdapter