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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- LoggedReporter
- Reporter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
allProblems: ListBuffer[Problem]
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
comment(pos: Position, msg: String): Unit
- Definition Classes
- LoggedReporter → Reporter
- lazy val count: EnumMap[Severity, Int]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasErrors(): Boolean
- Definition Classes
- LoggedReporter → Reporter
-
def
hasWarnings(): Boolean
- Definition Classes
- LoggedReporter → Reporter
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log(problem0: Problem): Unit
- Definition Classes
- LoggedReporter → Reporter
-
def
logError(problem: Problem): Unit
- Attributes
- protected
-
def
logInfo(problem: Problem): Unit
- Attributes
- protected
-
def
logWarning(problem: Problem): Unit
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val positions: HashMap[PositionKey, Severity]
-
def
printSummary(): Unit
- Definition Classes
- LoggedReporter → Reporter
-
def
problems(): Array[Problem]
- Definition Classes
- LoggedReporter → Reporter
-
def
reset(): Unit
- Definition Classes
- LoggedReporter → Reporter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()