This repository was archived by the owner on Sep 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Description
Now that Go has its own structure logger, we can drop the dependency on Zerolog and use Go's slog
instead.
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 logger
pass around and simply use the global slog
after configuring it based on the environment variables already used to Zerolog.
Couple of pointer for this tasks:
- Exploration / reflection on if we should continue to pass a logger around, as
slog
has a sharable global instance. - Removing the
logger
field on structure and function protytope and building / fixing issue seems a good way to do this. - Doing a global search for zerolog's logger type and either removing or changing type based on exploration results.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed