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

Wire logrus to zerolog #183

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Wire logrus to zerolog #183

merged 1 commit into from
Aug 23, 2024

Conversation

ronenh
Copy link
Contributor

@ronenh ronenh commented Aug 22, 2024

The dependency on logrus was removed from aserto-dev/logger in aserto-dev/logger#8.
Support for wiring logrus to zerolog has moved to aserto-dev/runtime in aserto-dev/runtime#57.

This commit uses runtime/logger to explicitly add a logrus hook that sends logs to zerolog.

Signed-off-by: Ronen Hilewicz ronen@aserto.com

@ronenh ronenh requested a review from gertd August 22, 2024 22:30
The dependency on logrus was removed from aserto-dev/logger in aserto-dev/logger#8.
Support for wiring logrus to zerolog has moved to aserto-dev/runtime in aserto-dev/runtime#57.

This commit uses runtime/logger to explicitly add a logrus hook that sends logs to zerolog.

Signed-off-by: Ronen Hilewicz <ronen@aserto.com>
@gertd gertd merged commit cca1553 into main Aug 23, 2024
8 checks passed
@gertd gertd deleted the logrus branch August 23, 2024 00:38
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