skx / cpmulator

Golang CP/M emulator for zork, Microsoft BASIC, Turbo Pascal, Wordstar, lighthouse-of-doom, etc
MIT License
98 stars 3 forks source link

Minimize our logging #130

Closed skx closed 4 months ago

skx commented 4 months ago

iz-cpm has a neat idea for its logging - don't log the console I/O functions by default. Steal it!

Keep working with logging via the specified path, but add a new flag to the CPMHandler struct - used to describe all our functions - to mark a given handler as "noisy".

Unless given a -log-all flag ignore logging from noisy-functions.

Handle this before #129, because that will make debugging easier :)