class
StoreReporter
extends
Reporter
This class implements a Reporter that stores all messages
Beware that this reporter can leak memory, and force messages in two scenarios:
- During debugging
config.Printers.typr
is set fromnoPrinter
tonew Printer
, which forces the message - The reporter is not flushed and the message containers capture a
Context
(about 4MB)
Constructors
StoreReporter
(
outer:
Reporter
)
Members
private
val
outer
: Reporter
Report a diagnostic
Report a diagnostic
override
def
errorsReported
: Boolean
Have errors been reported by this reporter, or in the case where this is a StoreReporter, by an outer reporter?
Have errors been reported by this reporter, or in the case where this is a StoreReporter, by an outer reporter?
override
def
hasPending
: Boolean
Does this reporter contain not yet reported errors or warnings?
Does this reporter contain not yet reported errors or warnings?
If this reporter buffers messages, remove and return all buffered messages.
If this reporter buffers messages, remove and return all buffered messages.