logo

class

compiler::CompilerLog

sys::Obj
  compiler::CompilerLog

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

Slots

compilerErr

virtual Void compilerErr(CompilerErr err)

Log a CompilerErr

Source

debug

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

Log an debug level message.

Source

error

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

Log an error level message.

Source

indent

Void indent()

Indent the output.

Source

indentation

Int indentation := 0

Current level of indentation

Source

info

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

Log an info level message.

Source

isDebug

Bool isDebug()

Is debug level enabled

Source

level

LogLevel level := LogLevel.info

Max severity of log entries to report

Source

log

virtual Void log(LogRecord rec)

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

Source

make

new make(OutStream out := Sys.out())

Construct for specified output stream.

Source

out

OutStream out := null

Sink for all output

Source

print

CompilerLog print(Obj s)

Print a string without trailing newline.

Source

printLine

CompilerLog printLine(Obj s := "")

Print a line.

Source

unindent

Void unindent()

Unindent the output.

Source

warn

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

Log a warn level message.

Source