class compiler::CompilerLog

sys::Obj
  compiler::CompilerLog

Source

CompilerLog manages logging compiler messages. The default writes everything to standard output.

compilerErr

virtual Void compilerErr(CompilerErr err)

Source

Log a CompilerErr

debug

Void debug(Str msg, Err? err := null)

Source

Log an debug level message.

err

Void err(Str msg, Err? err := null)

Source

Log an error level message.

indent

Void indent()

Source

Indent the output.

indentation

Int indentation := 0

Source

Current level of indentation

info

Void info(Str msg, Err? err := null)

Source

Log an info level message.

isDebug

Bool isDebug()

Source

Is debug level enabled

level

LogLevel level := LogLevel.info

Source

Max severity of log entries to report

log

virtual Void log(LogRec rec)

Source

Generate a log entry. The log entry is only generated if the specified level is greater than or equal to the configured level field.

make

new make(OutStream out := Env.cur().out())

Source

Construct for specified output stream.

out

OutStream? out := null

Source

Sink for all output

print

CompilerLog print(Obj? s)

Source

Print a string without trailing newline.

printLine

CompilerLog printLine(Obj? s := "")

Source

Print a line.

unindent

Void unindent()

Source

Unindent the output.

warn

Void warn(Str msg, Err? err := null)

Source

Log a warn level message.