feat: integrate zerolog for structured logging and replace fmt with logger

This commit is contained in:
2025-01-21 23:33:14 -06:00
parent 0d8e8acf3a
commit 0ca2a9eeed
6 changed files with 59 additions and 17 deletions

View File

@@ -0,0 +1,9 @@
package logger
import (
"os"
"github.com/rs/zerolog"
)
var Logger = zerolog.New(zerolog.ConsoleWriter{Out: os.Stderr}).With().Timestamp().Logger()