package
1.0.0
Repository: https://github.com/summercedrus/serverkit.git
Documentation: pkg.go.dev

# Packages

Package glogger defines glog-based logging for grpc.

# Functions

Error logs to the ERROR log.
Errorf logs to the ERROR log.
Errorln logs to the ERROR log.
Fatal logs to the FATAL log.
Fatalf logs to the FATAL log.
Fatalln logs to the FATAL log.
Info logs to the INFO log.
Infof logs to the INFO log.
Infoln logs to the INFO log.
NewLoggerV2 creates a loggerV2 with the provided writers.
NewLoggerV2WithVerbosity creates a loggerV2 with the provided writers and verbosity level.
Print prints to the logger.
Printf prints to the logger.
Println prints to the logger.
SetLogger sets the logger that is used in grpc.
SetLoggerV2 sets logger that is used in grpc to a V2 logger.
V reports whether verbosity level l is at least the requested verbose level.
Warning logs to the WARNING log.
Warningf logs to the WARNING log.
Warningln logs to the WARNING log.

# Interfaces

Logger mimics golang's standard Logger as an interface.
LoggerV2 does underlying logging work for grpclog.