Skip to content
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

Using slog for logging #92

Open
victornicolet opened this issue Oct 2, 2024 · 1 comment
Open

Using slog for logging #92

victornicolet opened this issue Oct 2, 2024 · 1 comment
Labels
enhancement New feature or request no-issue-activity

Comments

@victornicolet
Copy link
Contributor

We should use slog for logging instead of our custom config.LogGroup. However, we're using 5 different levels of logging (ERROR, WARN, INFO, DEBUG, TRACE) as opposed to four levels in slog (no TRACE level). It's useful for us to have TRACE and DEBUG separately since TRACE is specifically to trace information in dataflows. The amount of logging depends on the program being analyzed, whereas debug amount is relatively more stable.
We can use slog with an additional flag in the config to mark whether trace level should be logged as debug.

@victornicolet victornicolet added the enhancement New feature or request label Oct 2, 2024
Copy link

github-actions bot commented Jan 7, 2025

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no-issue-activity
Projects
None yet
Development

No branches or pull requests

1 participant