package
0.0.0-20240327064937-319eeffad8d0
Repository: https://github.com/arun0009/go-logger.git
Documentation: pkg.go.dev
# Functions
L returns the global Logger, which can be reconfigured with ReplaceGlobals.
NewLogrusLogger create new logger using logrus logger.
NewZapLogger create new logger using zap logger.
ReplaceGlobals replaces the global Logger and returns a function to restore the original values.
# Interfaces
Logger is our contract for the logger.
# Type aliases
Fields Type to pass when we want to call WithFields for structured logging.