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

mdoc.Reporter.scala Maven / Gradle / Ivy

package mdoc

import scala.meta.inputs.Position

trait Reporter {
  def error(throwable: Throwable): Unit
  def error(pos: Position, throwable: Throwable): Unit
  def error(pos: Position, msg: String): Unit
  def error(msg: String): Unit
  def warning(pos: Position, msg: String): Unit
  def warning(msg: String): Unit
  def info(pos: Position, msg: String): Unit
  def info(msg: String): Unit
  def debug(msg: => String): Unit
  def print(msg: String): Unit
  def println(msg: String): Unit

  private[mdoc] def setDebugEnabled(isDebugEnabled: Boolean): Unit = ()
  private[mdoc] def hasWarnings: Boolean
  private[mdoc] def hasErrors: Boolean
  private[mdoc] def warningCount: Int
  private[mdoc] def errorCount: Int
  private[mdoc] def reset(): Unit
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy