GofileScrapper/misc/logger.go

12 lines
222 B
Go
Raw Normal View History

2024-03-19 17:20:55 +01:00
package misc
import (
"github.com/rs/zerolog"
"os"
"time"
)
var Logger = zerolog.New(
zerolog.ConsoleWriter{Out: os.Stderr, TimeFormat: time.RFC3339},
).Level(zerolog.TraceLevel).With().Timestamp().Caller().Logger()