Documentation ¶
Index ¶
Constants ¶
View Source
const ( DebugLevel = "debug" WarnLevel = "warn" ErrorLevel = "error" DPanicLevel = "dpanic" PanicLevel = "panic" FatalLevel = "fatal" InfoLevel = "info" )
Variables ¶
This section is empty.
Functions ¶
func GetGrpLogDefaultVerbosity ¶
func GetGrpLogDefaultVerbosity() int
func GetHealthMutedDecider ¶
func GetHealthMutedDecider(muted bool) grpcLogging.Decider
func GrpcCodeToLevel ¶
GrpcCodeToLevel is the default implementation of gRPC return codes and interceptor log level for server side.
func NewLogger ¶
NewLogger returns a new Zap logger, changing the config based on the environment provided, and returning an error if there is an issue with creation.
func SetupLogger ¶
func SetupLogger()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.