Closed dogamak closed 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.
compile_with_logger
Emulator::with_logger
slog::Logger
TRACE
DEBUG
Adds methods
compile_with_logger
andEmulator::with_logger
that accept aslog::Logger
. At the present the only log levels areTRACE
andDEBUG
, withTRACE
containing extremely detailed logging whileDEBUG
only logs when executing some instructions.