Package org.opencms.util
Class CmsLog4jUtil
java.lang.Object
org.opencms.util.CmsLog4jUtil
Utilities for dealing with log4j loggers.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.apache.logging.log4j.core.Logger>
Gets the list of all loggers.static String
getParentLoggerName
(String loggerName) Gets the parent logger name for a given logger name, or null if there is no parent logger name.
-
Method Details
-
getAllLoggers
Gets the list of all loggers.- Returns:
- the list of all loggers
-
getParentLoggerName
Gets the parent logger name for a given logger name, or null if there is no parent logger name.- Parameters:
loggerName
- the name of a logger- Returns:
- the parent name of the logger, or null if the logger name has no parent
-