Documentation of 'weka.core.logging.Logger' Java class
Logger
weka.core.logging

Class Logger

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  Logger.Level
      The logging level.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String PROPERTIES_FILE
      the properties file.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Logger()
      Initializes the logger.
    • Field Detail

      • PROPERTIES_FILE

        public static final java.lang.String PROPERTIES_FILE
        the properties file.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Logger

        public Logger()
        Initializes the logger.
    • Method Detail

      • getSingleton

        public static Logger getSingleton()
        Returns the singleton instance of the logger.
        Returns:
        the logger instance
      • log

        public static void log(Logger.Level level,
                               java.lang.String msg)
        Logs the given message under the given level.
        Parameters:
        level - the level of the message
        msg - the message to log
      • log

        public static void log(Logger.Level level,
                               java.lang.Throwable t)
        Logs the given message under the given level.
        Parameters:
        level - the level of the message
        t - the throwable to log
      • getMinLevel

        public Logger.Level getMinLevel()
        Returns the minimum level log messages must have in order to appear in the log.
        Returns:
        the level

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.