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

Add a JSON and text logger #7

Closed
deanefrati opened this issue Jun 18, 2024 · 4 comments · Fixed by #35
Closed

Add a JSON and text logger #7

deanefrati opened this issue Jun 18, 2024 · 4 comments · Fixed by #35
Assignees
Labels
enhancement New feature or request

Comments

@deanefrati
Copy link
Contributor

No description provided.

@deanefrati deanefrati added the enhancement New feature or request label Jun 18, 2024
@Lutherwaves
Copy link
Contributor

I found out the discussion around the following logs to be the most "hot" in recent time:

zerolog - https://github.com/rs/zerolog
logrus - https://github.com/sirupsen/logrus
and last but not least, which is the newest addition - slog https://go.dev/blog/slog

Some additional comparisons I see in my history - https://betterstack.com/community/guides/logging/best-golang-logging-libraries/

@ayashjorden
Copy link
Contributor

We better do it in tink3rlabs/libraries/golang/common

@deanefrati
Copy link
Contributor Author

Came across https://pkg.go.dev/log/slog which is part of the standard library and seem to be simple with support for text or json... worth looking at to see if it's sufficient instead of bringing in another external dependency.

@UjwalaK
Copy link
Contributor

UjwalaK commented Aug 9, 2024

noted will look into this as well

@UjwalaK UjwalaK linked a pull request Aug 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants