Class SupportLogManager

java.lang.Object
org.broadleafcommerce.common.logging.SupportLogManager

public class SupportLogManager extends Object

LogManager class that adds support for retrieving a specialized Logger instance (SupportLogger). SupportLogger provides support for the SUPPORT log level.

Author:
Jeff Fischer, elbertbautista
  • Constructor Details

    • SupportLogManager

      public SupportLogManager()
  • Method Details

    • 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 message
      name - 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 message
      clazz - 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