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

org.clapper.avsl.handler.null.scala Maven / Gradle / Ivy

The newest version!
package org.clapper.avsl.handler

import org.clapper.avsl.formatter.Formatter
import org.clapper.avsl.config.ConfiguredArguments
import org.clapper.avsl.{LogLevel, LogMessage}

/**
  * Simple handler discards messages.
  */
class NullHandler(val level: LogLevel, val formatter: Formatter)
extends Handler {
  def this (args: ConfiguredArguments,
            formatter: Formatter,
            level: LogLevel) = this(level, formatter)

  def log(message: String, logMessage: LogMessage): Unit = {}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy