Class AvalonLogFactory


  • public class AvalonLogFactory
    extends Object
    Unlike with modern (sic!) Logging frameworks like SLF4J and Commons Logging, there's no Avalon-specific factory for its loggers. To make it consistent with other supported facades, this implementation is a factory for loggers.
    • Constructor Detail

      • AvalonLogFactory

        public AvalonLogFactory()
    • Method Detail

      • setPaxLoggingManager

        public static void setPaxLoggingManager​(PaxLoggingManager manager)
      • getLogger

        public static org.apache.avalon.framework.logger.Logger getLogger​(String name)
        Main static factory method to return instance of Logger.
        Parameters:
        name -
        Returns:
      • getLogger

        public static org.apache.avalon.framework.logger.Logger getLogger​(AvalonLogger parent,
                                                                          String name)