@InterfaceAudience.Private final class InternalLog4jUtils extends Object
Log4jUtils
, as they will call the methods here through reflection.Modifier | Constructor and Description |
---|---|
private |
InternalLog4jUtils() |
Modifier and Type | Method and Description |
---|---|
(package private) static Set<File> |
getActiveLogFiles() |
(package private) static String |
getEffectiveLevel(String loggerName) |
private static org.apache.logging.log4j.Level |
getLevel(String levelName) |
(package private) static void |
setAllLevels(String loggerName,
String levelName) |
(package private) static void |
setLogLevel(String loggerName,
String levelName) |
(package private) static void |
setRootLevel(String levelName) |
private InternalLog4jUtils()
private static org.apache.logging.log4j.Level getLevel(String levelName) throws IllegalArgumentException
IllegalArgumentException
static void setAllLevels(String loggerName, String levelName)
static void setLogLevel(String loggerName, String levelName)
static void setRootLevel(String levelName)
static String getEffectiveLevel(String loggerName)
static Set<File> getActiveLogFiles() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.