Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Partial fix for #749.

Describe the change

This updates the regclient Go library. Existing users of logrus (including regctl, regsync, and regbot) will continue to work using a logrus handler to slog. Updates to the various commands will be made in a future commit.

How to verify it

Changelog text

  • Feat: Refactor logging to use log/slog.
  • Breaking: Warning handlers switched from logrus to slog which will only impact those with a custom warning handler.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

This updates the regclient Go library.
Existing users of logrus will continue to work using a logrus handler to slog.
Updates to the various commands will be made in a future commit.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 81644e3 into regclient:main Nov 11, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-slog branch November 11, 2024 14:54
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.

1 participant