public class SLF4JLoggerContext extends Object implements org.apache.logging.log4j.spi.LoggerContext
| Constructor and Description |
|---|
SLF4JLoggerContext() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getExternalContext() |
org.apache.logging.log4j.spi.ExtendedLogger |
getLogger(String name) |
org.apache.logging.log4j.spi.ExtendedLogger |
getLogger(String name,
org.apache.logging.log4j.message.MessageFactory messageFactory) |
boolean |
hasLogger(String name) |
boolean |
hasLogger(String name,
Class<? extends org.apache.logging.log4j.message.MessageFactory> messageFactoryClass) |
boolean |
hasLogger(String name,
org.apache.logging.log4j.message.MessageFactory messageFactory) |
public SLF4JLoggerContext()
public Object getExternalContext()
getExternalContext in interface org.apache.logging.log4j.spi.LoggerContextpublic org.apache.logging.log4j.spi.ExtendedLogger getLogger(String name)
getLogger in interface org.apache.logging.log4j.spi.LoggerContextpublic org.apache.logging.log4j.spi.ExtendedLogger getLogger(String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
getLogger in interface org.apache.logging.log4j.spi.LoggerContextpublic boolean hasLogger(String name)
hasLogger in interface org.apache.logging.log4j.spi.LoggerContextpublic boolean hasLogger(String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
hasLogger in interface org.apache.logging.log4j.spi.LoggerContextCopyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.