Class FastLogContext

  • All Implemented Interfaces:
    org.apache.logging.log4j.spi.LoggerContext

    public final class FastLogContext
    extends java.lang.Object
    implements org.apache.logging.log4j.spi.LoggerContext
    • Constructor Summary

      Constructors 
      Constructor Description
      FastLogContext​(FastLogMBean fastLog, org.apache.logging.log4j.spi.LoggerContext context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getExternalContext()  
      FastLogger getLogger​(java.lang.String name)  
      FastLogger getLogger​(java.lang.String name, org.apache.logging.log4j.message.MessageFactory messageFactory)  
      FastLogMBean getManagementMBean()  
      boolean hasLogger​(java.lang.String name)  
      boolean hasLogger​(java.lang.String name, java.lang.Class<? extends org.apache.logging.log4j.message.MessageFactory> messageFactoryClass)  
      boolean hasLogger​(java.lang.String name, org.apache.logging.log4j.message.MessageFactory messageFactory)  
      boolean isDebugEnabled()  
      boolean isTraceEnabled()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.logging.log4j.spi.LoggerContext

        getLogger, getLogger, getObject, putObject, putObjectIfAbsent, removeObject, removeObject
    • Constructor Detail

      • FastLogContext

        public FastLogContext​(@Nonnull
                              FastLogMBean fastLog,
                              @Nonnull
                              org.apache.logging.log4j.spi.LoggerContext context)
    • Method Detail

      • getManagementMBean

        public FastLogMBean getManagementMBean()
      • getExternalContext

        public java.lang.Object getExternalContext()
        Specified by:
        getExternalContext in interface org.apache.logging.log4j.spi.LoggerContext
      • getLogger

        public FastLogger getLogger​(java.lang.String name)
        Specified by:
        getLogger in interface org.apache.logging.log4j.spi.LoggerContext
      • getLogger

        public FastLogger getLogger​(java.lang.String name,
                                    org.apache.logging.log4j.message.MessageFactory messageFactory)
        Specified by:
        getLogger in interface org.apache.logging.log4j.spi.LoggerContext
      • hasLogger

        public boolean hasLogger​(java.lang.String name)
        Specified by:
        hasLogger in interface org.apache.logging.log4j.spi.LoggerContext
      • hasLogger

        public boolean hasLogger​(java.lang.String name,
                                 org.apache.logging.log4j.message.MessageFactory messageFactory)
        Specified by:
        hasLogger in interface org.apache.logging.log4j.spi.LoggerContext
      • hasLogger

        public boolean hasLogger​(java.lang.String name,
                                 java.lang.Class<? extends org.apache.logging.log4j.message.MessageFactory> messageFactoryClass)
        Specified by:
        hasLogger in interface org.apache.logging.log4j.spi.LoggerContext
      • isDebugEnabled

        public boolean isDebugEnabled()
      • isTraceEnabled

        public boolean isTraceEnabled()