c

sbt.internal.inc

ManagedLoggedReporter

class ManagedLoggedReporter extends LoggedReporter

Defines a logger that uses event logging provided by a ManagedLogger.

This functionality can be use by anyone that wants to get support for event logging and use an underlying, controlled logger under the hood.

The ManagedLoggedReporter exists for those users that do not want to set up the passed logger. Event logging requires registration of codects to serialize and deserialize Problems. This reporter makes sure to initialize the managed logger so that users do not need to take care of this cumbersome process.

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

Instance Constructors

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

    maximumErrors

    The maximum errors.

    logger

    The event managed logger.

    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. val allProblems: ListBuffer[Problem]
    Attributes
    protected
    Definition Classes
    LoggedReporter
  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. val count: EnumMap[Severity, Int]
    Definition Classes
    LoggedReporter
  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
    Definition Classes
    ManagedLoggedReporterLoggedReporter
  19. def logInfo(problem: Problem): Unit
    Definition Classes
    ManagedLoggedReporterLoggedReporter
  20. def logWarning(problem: Problem): Unit
    Definition Classes
    ManagedLoggedReporterLoggedReporter
  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. val positions: HashMap[PositionKey, Severity]
    Definition Classes
    LoggedReporter
  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 LoggedReporter

Inherited from Reporter

Inherited from AnyRef

Inherited from Any

Ungrouped