feat: integrate zerolog for structured logging and replace fmt with logger
All checks were successful
Release / Build versioned release (push) Successful in 20s
All checks were successful
Release / Build versioned release (push) Successful in 20s
This commit is contained in:
9
steamcache/logger/logger.go
Normal file
9
steamcache/logger/logger.go
Normal 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()
|
||||
Reference in New Issue
Block a user