cdepillabout / termonad

Terminal emulator configurable in Haskell.
https://hackage.haskell.org/package/termonad
BSD 3-Clause "New" or "Revised" License
393 stars 47 forks source link

setup a proper logging framework #241

Open cdepillabout opened 10 months ago

cdepillabout commented 10 months ago

It would be nice to setup a proper logging framework in the Termonad source code. There are various places that throw errors or output log messages, and it would be nice to have a comprehensive framework for dealing with this.

Ideally we could be a lot more liberal with logging debug messages to help get an idea of exactly what is going on. Right now there are very few "debug-style" logs being printed, because there is no easy way to turn it off.

I don't have a strong opinion on which logging library to use.