Open ryan961 opened 1 year ago
How can i use it instead of the default logger of asynq?
I now am receiving a different structure from asynq from my logger
{"time":"2024-10-24T17:37:07.416311372+01:00","level":"INFO","msg":"Starting worker..."} asynq: pid=343207 2024/10/24 16:37:07.416384 INFO: Starting processing {"time":"2024-10-24T17:37:07.416342416+01:00","level":"INFO","msg":"Starting API server on :8181..."}
Slog is set to be introduced in Go 1.21 as part of the standard library (api: audit for Go 1.21 #60560), utilizing the standard Logger interface for easier integration by users.