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
LoggedReporter, Reporter, AnyRef, Any
Known Subclasses
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. lazy 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
    @native() @throws( ... )
  7. def comment(pos: Position, msg: String): Unit
    Definition Classes
    LoggedReporter → Reporter
  8. lazy 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
    Annotations
    @native()
  13. def hasErrors(): Boolean
    Definition Classes
    LoggedReporter → Reporter
  14. def hasWarnings(): Boolean
    Definition Classes
    LoggedReporter → Reporter
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def log(problem0: Problem): Unit
    Definition Classes
    LoggedReporter → Reporter
  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
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. lazy val positions: HashMap[PositionKey, Severity]
    Definition Classes
    LoggedReporter
  25. def printSummary(): Unit
    Definition Classes
    LoggedReporter → Reporter
  26. def problems(): Array[Problem]
    Definition Classes
    LoggedReporter → Reporter
  27. def reset(): Unit
    Definition Classes
    LoggedReporter → Reporter
  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
    @native() @throws( ... )

Inherited from LoggedReporter

Inherited from Reporter

Inherited from AnyRef

Inherited from Any

Ungrouped