org.broadleafcommerce.common.logging
Class SupportLogManager
java.lang.Object
org.apache.log4j.LogManager
org.broadleafcommerce.common.logging.SupportLogManager
public class SupportLogManager
- extends org.apache.log4j.LogManager
Log4J LogManager extension that adds support for retrieving a specialized
Logger instance (SupportLogger). SupportLogger provides support for the
SUPPORT log level.
- Author:
- Jeff Fischer
| Fields inherited from class org.apache.log4j.LogManager |
CONFIGURATOR_CLASS_KEY, DEFAULT_CONFIGURATION_FILE, DEFAULT_CONFIGURATION_KEY, DEFAULT_INIT_OVERRIDE_KEY |
| Methods inherited from class org.apache.log4j.LogManager |
exists, getCurrentLoggers, getLogger, getLogger, getLogger, getLoggerRepository, getRootLogger, resetConfiguration, setRepositorySelector, shutdown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SupportLogManager
public SupportLogManager()
getLogger
public static SupportLogger getLogger(String moduleName,
String name)
- Retrieve a SupportLogger instance
- Parameters:
moduleName - The name of the module - will appear in the log messagename - The name for the logger - will appear in the log message
- Returns:
- the specialized Logger instance supporting the SUPPORT log level
getLogger
public static SupportLogger getLogger(String moduleName,
Class<?> clazz)
- Retrieve a SupportLogger instance
- Parameters:
moduleName - The name of the module - will appear in the log messageclazz - The class from which the logging is being called - will appear in the log message
- Returns:
- the specialized Logger instance supporting the SUPPORT log level
Copyright © 2013. All Rights Reserved.