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) |
public SLF4JLoggerContext()
public Object getExternalContext()
getExternalContext
in interface org.apache.logging.log4j.spi.LoggerContext
public org.apache.logging.log4j.spi.ExtendedLogger getLogger(String name)
getLogger
in interface org.apache.logging.log4j.spi.LoggerContext
public org.apache.logging.log4j.spi.ExtendedLogger getLogger(String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
getLogger
in interface org.apache.logging.log4j.spi.LoggerContext
Copyright © 1999-2021 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.