-
-
Notifications
You must be signed in to change notification settings - Fork 70
Replace Zerolog with Go's slog #122
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Milestone
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Now that Go has its own structure logger, we can drop the dependency on Zerolog and use Go's
sloginstead.I think the quikest way to do this is by removing all import of zerolog.
Might be a good opportunity to maybe get rid of all
loggerpass around and simply use the globalslogafter configuring it based on the environment variables already used to Zerolog.Couple of pointer for this tasks:
sloghas a sharable global instance.loggerfield on structure and function protytope and building / fixing issue seems a good way to do this.