dawenxi-tech / 2fa

A 2FA desktop application.
MIT License
2 stars 1 forks source link

Logging #20

Open gedw99 opened 9 months ago

gedw99 commented 9 months ago

Do we need logging to be OS compliant ?

At that moment I think we use slog but we probably want to also log to Mac and windows os based loggers .

Slog has adapters :) I use the slog nats adapter for example so there might be one for OS level too .

let’s me know your thoughts , but it might make debugging easier .

Login to nats helps too with remote debugging btw

heramerom commented 9 months ago

Yeah, you are right. Maybe it will add nats adapters in future.

gedw99 commented 9 months ago

https://github.com/samber/

lots and lots :)

https://github.com/samber/slog-nats

gedw99 commented 9 months ago

Maybe that’s enough . File and Nat logging .

OS logging is probably not that useful now that I think about it .

Nats logging will be very useful for dev and ops I think.

heramerom commented 9 months ago

That's greate, Thank you.