Class ConsoleLoggerProvider

    • Constructor Summary

      Constructors 
      Constructor Description
      ConsoleLoggerProvider​(int level)
      Creates an instace of the concrete system console logger.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Logger getLogger​(java.lang.String category)
      Request for a Logger instance that will be used for logging occuring on the given category.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsoleLoggerProvider

        public ConsoleLoggerProvider​(int level)
        Creates an instace of the concrete system console logger.
        Parameters:
        level - The desired logging level. See ConsoleLogLevel.
    • Method Detail

      • getLogger

        public Logger getLogger​(java.lang.String category)
        Description copied from interface: LoggerProvider
        Request for a Logger instance that will be used for logging occuring on the given category. It is suggested, but not mandatory, that subsequent calls to this method related to the same category return the same Logger instance.
        Specified by:
        getLogger in interface LoggerProvider
        Parameters:
        category - the log category all messages passed to the given Logger instance will pertain to.
        Returns:
        A Logger instance that will receive log lines related to the given category.