class compiler::CompilerLog
sys::Obj compiler::CompilerLog
CompilerLog manages logging compiler messages. The default writes everything to standard output.
- compilerErr
-
virtual Void compilerErr(CompilerErr err)
Log a CompilerErr
- debug
-
Void debug(Str msg, Err? err := null)
Log an debug level message.
- err
-
Void err(Str msg, Err? err := null)
Log an error level message.
- indent
-
Void indent()
Indent the output.
- indentation
-
Int indentation := 0
Current level of indentation
- info
-
Void info(Str msg, Err? err := null)
Log an info level message.
- isDebug
-
Bool isDebug()
Is debug level enabled
- level
-
LogLevel level := LogLevel.info
Max severity of log entries to report
- log
-
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())
Construct for specified output stream.
- out
-
OutStream? out := null
Sink for all output
-
CompilerLog print(Obj? s)
Print a string without trailing newline.
- printLine
-
CompilerLog printLine(Obj? s := "")
Print a line.
- unindent
-
Void unindent()
Unindent the output.
- warn
-
Void warn(Str msg, Err? err := null)
Log a warn level message.