Skip to content

Package io.github.qishr.cascara.common.diagnostic

Class StandardReporter

java.lang.Object
        io.github.qishr.cascara.common.diagnostic.AbstractReporter<io.github.qishr.cascara.common.diagnostic.StandardReporter>
                io.github.qishr.cascara.common.diagnostic.StandardReporter


public class StandardReporter
extends AbstractReporter<StandardReporter>

Constructor Summary

Constructor Description
StandardReporter(Consumer<String> writer)
StandardReporter()

Method Summary

Modifier and Type Method Description
public StandardReporter setAnsiColoringEnabled(boolean b)
protected StandardReporter self()
protected void writeString(Diagnostic diagnostic)

Methods inherited from AbstractReporter

errorAt, isSystemOutputEnabled, getProblemCollector, trace, setStackTraceEnabled, debug, getDiagnosticCollector, buildDiagnostic, warnAt, errorAt, infoAt, collectsProblems, setSystemErrorEnabled, infoAt, isProblem, errorAt, infoAt, writeString, errorAt, warnAt, error, setDiagnosticCollector, warnAt, outputToConsole, setFlushEnabled, warn, error, setSystemOutputEnabled, buildDiagnostic, buildDiagnostic, setProblemCollector, errorAt, errorAt, isStackTraceEnabled, errorAt, report, info, isFlushEnabled, getLevel, isSilent, error, error, buildDiagnostic, setLevel, getStringWriter

Method Details

setAnsiColoringEnabled

public StandardReporter setAnsiColoringEnabled(boolean b)


self

protected StandardReporter self()

Overrides:

AbstractReporter


writeString

protected void writeString(Diagnostic diagnostic)

Overrides:

AbstractReporter