Class ScxLog4jLoggerContext

java.lang.Object
cool.scx.logging.spi.log4j.ScxLog4jLoggerContext
All Implemented Interfaces:
org.apache.logging.log4j.spi.LoggerContext

public final class ScxLog4jLoggerContext extends Object implements org.apache.logging.log4j.spi.LoggerContext
  • Field Summary

    Fields inherited from interface org.apache.logging.log4j.spi.LoggerContext

    EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.logging.log4j.spi.ExtendedLogger
     
    org.apache.logging.log4j.spi.ExtendedLogger
    getLogger(String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
     
    boolean
     
    boolean
    hasLogger(String name, Class<? extends org.apache.logging.log4j.message.MessageFactory> messageFactoryClass)
     
    boolean
    hasLogger(String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
     

    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, getLoggerRegistry, getObject, putObject, putObjectIfAbsent, removeObject, removeObject
  • Constructor Details

    • ScxLog4jLoggerContext

      public ScxLog4jLoggerContext()
  • Method Details

    • getExternalContext

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

      public org.apache.logging.log4j.spi.ExtendedLogger getLogger(String name)
      Specified by:
      getLogger in interface org.apache.logging.log4j.spi.LoggerContext
    • getLogger

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

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

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

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