Class TestableLoggerProvider

  • All Implemented Interfaces:
    org.jboss.logging.LoggerProvider

    public class TestableLoggerProvider
    extends Object
    implements org.jboss.logging.LoggerProvider
    A LoggerProvider for JBoss Logger. See also META-INF/services/org.jboss.logging.LoggerProvider
    • Constructor Detail

      • TestableLoggerProvider

        public TestableLoggerProvider()
    • Method Detail

      • getLogger

        public org.jboss.logging.Logger getLogger​(String name)
        Specified by:
        getLogger in interface org.jboss.logging.LoggerProvider
      • clearMdc

        public void clearMdc()
        Specified by:
        clearMdc in interface org.jboss.logging.LoggerProvider
      • putMdc

        public Object putMdc​(String key,
                             Object value)
        Specified by:
        putMdc in interface org.jboss.logging.LoggerProvider
      • getMdc

        public Object getMdc​(String key)
        Specified by:
        getMdc in interface org.jboss.logging.LoggerProvider
      • removeMdc

        public void removeMdc​(String key)
        Specified by:
        removeMdc in interface org.jboss.logging.LoggerProvider
      • getMdcMap

        public Map<String,​Object> getMdcMap()
        Specified by:
        getMdcMap in interface org.jboss.logging.LoggerProvider
      • clearNdc

        public void clearNdc()
        Specified by:
        clearNdc in interface org.jboss.logging.LoggerProvider
      • getNdc

        public String getNdc()
        Specified by:
        getNdc in interface org.jboss.logging.LoggerProvider
      • getNdcDepth

        public int getNdcDepth()
        Specified by:
        getNdcDepth in interface org.jboss.logging.LoggerProvider
      • popNdc

        public String popNdc()
        Specified by:
        popNdc in interface org.jboss.logging.LoggerProvider
      • peekNdc

        public String peekNdc()
        Specified by:
        peekNdc in interface org.jboss.logging.LoggerProvider
      • pushNdc

        public void pushNdc​(String message)
        Specified by:
        pushNdc in interface org.jboss.logging.LoggerProvider
      • setNdcMaxDepth

        public void setNdcMaxDepth​(int maxDepth)
        Specified by:
        setNdcMaxDepth in interface org.jboss.logging.LoggerProvider