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

feat: use slog from the std library for logging #66

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Conversation

dartdart26
Copy link
Collaborator

@dartdart26 dartdart26 commented Jan 19, 2024

The slog package provides structured logging and adds the following as compared to previous fmt.Print() logging:

  • timestamp
  • module key-value
  • potential performance improvement
  • a number of other logging features.

Specify a min go version of 1.21 for slog to be available. Also, update GitHib CI to use checkout and setup-go v4.

@dartdart26 dartdart26 force-pushed the petar/slog branch 2 times, most recently from 466f3be to 565635e Compare February 15, 2024 14:06
The slog package provides structured logging and adds the following as
compared to previous fmt.Print() logging:
 * timestamp
 * module key-value
 * potential performance improvement
 * a number of other logging features.

Specify a min go version of 1.21 for slog to be available. Also, update
GitHib CI to use checkout and setup-go @v4.
@dartdart26 dartdart26 merged commit c034ccd into main Feb 19, 2024
2 checks passed
@dartdart26 dartdart26 deleted the petar/slog branch February 19, 2024 13:24
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.

2 participants