Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultZapLogger ¶
func SetDefaultZapLogger()
func SetZapLogger ¶
func SetZapLogger(cfg config.LoggerConfig)
Types ¶
type Logger ¶
type Logger interface { Debug(msg string) Debugf(template string, args ...interface{}) Info(msg string) Infof(template string, args ...interface{}) Error(msg string) Errorf(template string, args ...interface{}) Warn(msg string) Warnf(template string, args ...interface{}) Fatal(msg string) Fatalf(template string, args ...interface{}) Panic(msg string) Panicf(template string, args ...interface{}) With(args ...interface{}) Logger }
var Log Logger
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
Click to show internal directories.
Click to hide internal directories.