dogamak / ttk91-rs

Crate for reading, writing, compiling and executing TTK91 code.
0 stars 0 forks source link

Support for optional logging with slog-rs #17

Closed dogamak closed 4 years ago

dogamak commented 4 years ago

Adds methods compile_with_logger and Emulator::with_logger that accept a slog::Logger. At the present the only log levels are TRACE and DEBUG, with TRACE containing extremely detailed logging while DEBUG only logs when executing some instructions.