-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log to stdout #30
Comments
Does it make sense to use a pre-existing logger like slog? |
@plaxi0s besides being an amazing name for a logging library, it does suggest |
yeah I agree, we should definitely use the |
To enable logging to a log file we need to take an optional filepath in |
I prefer the option approach |
Last night I made a change to log JSON to
~/.config/dura/logs/
. However, writing to stdout has a lot of advantages when running with other tools, like systemd.--log-file
is specifiedThe text was updated successfully, but these errors were encountered: