module

Cosmo::Logger

Instance methods

debug=(on : Bool) : Nil
Source
debug?
Source
pop_trace(idx : UInt32) : Nil
Source
push_trace(token : Token) : UInt32

Create a stack frame at token and push it to the trace

Source
register_source(file_path : String, source : String) : Nil

Register the source code at file_path

Source
report_error(error_type : String, message : String, line : UInt32, pos : UInt32, file_path : String) : Exception
Source
report_error(error_type : String, message : String, token : Token) : Exception
Source
report_exception(ex : E) forall E
Source
trace_level=(level : UInt32) : Nil
Source

Nested types