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

scribe.output.format.OutputFormat.scala Maven / Gradle / Ivy

The newest version!
package scribe.output.format

import scribe.Platform
import scribe.output.LogOutput

trait OutputFormat {
  def init(stream: String => Unit): Unit = {}

  def begin(stream: String => Unit): Unit = {}

  def apply(output: LogOutput, stream: String => Unit): Unit

  def end(stream: String => Unit): Unit = {}
}

object OutputFormat {
  /**
    * Defaults to platform-specific format.
    */
  var default: OutputFormat = Platform.outputFormat()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy