class LoggedReporter extends Reporter

Defines a reporter that forwards every reported problem to a wrapped logger.

This is the most common use of a reporter, where users pass in whichever logger they want. If they are depending on loggers from other libraries, they can create a logger that extends the xsbti logging interface.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggedReporter
  2. Reporter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LoggedReporter(maximumErrors: Int, logger: Logger, sourcePositionMapper: (Position) ⇒ Position = identity[Position])

    maximumErrors

    The maximum errors.

    logger

    The logger interface provided by the user.

    sourcePositionMapper

    The position mapper.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val allProblems: ListBuffer[Problem]
    Attributes
    protected
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def comment(pos: Position, msg: String): Unit

    Report a comment.

    Report a comment.

    Definition Classes
    LoggedReporterReporter
  8. lazy val count: EnumMap[Severity, Int]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hasErrors(): Boolean

    Check whether the logger has received any error since last reset.

    Check whether the logger has received any error since last reset.

    Definition Classes
    LoggedReporterReporter
  14. def hasWarnings(): Boolean

    Check whether the logger has received any warning since last reset.

    Check whether the logger has received any warning since last reset.

    Definition Classes
    LoggedReporterReporter
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def log(problem0: Problem): Unit

    Log a message at a concrete position and with a concrete severity.

    Log a message at a concrete position and with a concrete severity.

    Definition Classes
    LoggedReporterReporter
  18. def logError(problem: Problem): Unit
    Attributes
    protected
  19. def logInfo(problem: Problem): Unit
    Attributes
    protected
  20. def logWarning(problem: Problem): Unit
    Attributes
    protected
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. lazy val positions: HashMap[PositionKey, Severity]
  25. def printSummary(): Unit

    Log a summary of the received output since the last reset.

    Log a summary of the received output since the last reset.

    Definition Classes
    LoggedReporterReporter
  26. def problems(): Array[Problem]

    Return a list of warnings and errors since the last reset.

    Return a list of warnings and errors since the last reset.

    Definition Classes
    LoggedReporterReporter
  27. def reset(): Unit

    Reset logging and any accumulated error, warning, message or count.

    Reset logging and any accumulated error, warning, message or count.

    Definition Classes
    LoggedReporterReporter
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Reporter

Inherited from AnyRef

Inherited from Any

Ungrouped