This PR adds tracing to the compiler and exposes its LevelFilter enum as --log-level parameter with possible values: trace, debug, info, warn, error, off.
It can be later configured to measure spans duration or export data in various formats if needed.
Now we can use debug! or trace! macros to provide additional diagnostics.
Closes #239
This PR adds
tracing
to the compiler and exposes itsLevelFilter
enum as--log-level
parameter with possible values:trace
,debug
,info
,warn
,error
,off
.It can be later configured to measure spans duration or export data in various formats if needed.
Now we can use
debug!
ortrace!
macros to provide additional diagnostics.