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

Finish switching from log to slog for telemetry client #37

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

rtamalin
Copy link
Collaborator

Also converts log.Fatal() calls to slog.Error() followed by return in many cases, especially those within the internal packages of the telemetry client library.

Added missing checks for errors when decompressing data for item rows.

Defined named return values for some of the datastore methods to simplify error handling and return statements.

Minor other code cleanups.

Closes: #15

Also converts log.Fatal() calls to slog.Error() followed by return
in many cases, especially those within the internal packages of the
telemetry client library.

Added missing checks for errors when decompressing data for item
rows.

Defined named return values for some of the datastore methods to
simplify error handling and return statements.

Minor other code cleanups.

Closes: #15
@rtamalin rtamalin merged commit be124bb into main Jul 22, 2024
1 check passed
@rtamalin rtamalin deleted the finish_switch_to_slog branch July 24, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch logging to use log/slog rather than simply log
2 participants