Skip navigation links
com.snowtide.util.logging

Class LoggingRegistry

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static Log getLog(Class c)
      Convenience method for retrieving a Log instance for the given Class from the current LogFactory.
      static Log getLog(String logname)
      Convenience method for retrieving a Log instance with the given name from the current LogFactory.
      static void registerFactory(LogFactory impl)
      Registers the given LogFactory instance as the designated LogFactory implementation for creating Log objects.
    • Method Detail

      • registerFactory

        public static void registerFactory(LogFactory impl)
        Registers the given LogFactory instance as the designated LogFactory implementation for creating Log objects.
        Parameters:
        impl - a LogFactory implementation
      • getLog

        public static Log getLog(Class c)
        Convenience method for retrieving a Log instance for the given Class from the current LogFactory.
      • getLog

        public static Log getLog(String logname)
        Convenience method for retrieving a Log instance with the given name from the current LogFactory.