Eein / sea-of-stars-tas

Rust implementation of SoS-TAS
MIT License
1 stars 0 forks source link

Implement logging #18

Open orkaboy opened 3 days ago

orkaboy commented 3 days ago

Rust has a unified logging interface: https://github.com/rust-lang/log?tab=readme-ov-file#in-executables

Multiple backends are supported.

orkaboy commented 3 days ago

We can pick any one of these, and then use the trace!, debug!, info!, warn! and error! macros instead of println!

Eein commented 2 days ago

colog seems simple enough i say we just go with that and if we need something crazier we can upgrade - with many loggers as long as windows supports the ansi codes it should be fine