All Downloads are FREE. Search and download functionalities are using the official Maven repository.

breeze.util.logging.NullLogger.scala Maven / Gradle / Ivy

The newest version!
package breeze.util.logging

import breeze.util.logging.Logger.Level

/**
 * Doesn't output anything
 * @author dlwh
 */
object NullLogger extends Logger {
  def trace(f: => Any) {}

  def debug(f: => Any) {}

  def info(f: => Any) {}

  def warn(f: => Any) {}

  def error(f: => Any) {}

  def fatal(f: => Any) {}

  def level_=(level: Level) {}

  def level = Logger.NEVER
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy