Documentation
¶
Index ¶
- func Debug(msg string, fields ...zap.Field)
- func Debugf(msg string, fields ...interface{})
- func Error(msg string, fields ...zap.Field)
- func Errorf(msg string, fields ...interface{})
- func Fatal(msg string, fields ...zap.Field)
- func Fatalf(msg string, fields ...interface{})
- func GetGlobalLogger() *zap.Logger
- func Info(msg string, fields ...zap.Field)
- func Infof(msg string, fields ...interface{})
- func Panic(msg string, fields ...zap.Field)
- func Panicf(msg string, fields ...interface{})
- func SetupMOLogger(path string)
- func Warn(msg string, fields ...zap.Field)
- func Warnf(msg string, fields ...interface{})
- type GoettyLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGlobalLogger ¶
GetGlobalLogger returns the current global zap Logger.
func SetupMOLogger ¶
func SetupMOLogger(path string)
SetupMOLogger sets up the global logger for MO Server.
Types ¶
type GoettyLogger ¶
type GoettyLogger struct{}
func (*GoettyLogger) Debugf ¶
func (l *GoettyLogger) Debugf(msg string, fields ...interface{})
func (*GoettyLogger) Errorf ¶
func (l *GoettyLogger) Errorf(msg string, fields ...interface{})
func (*GoettyLogger) Fatalf ¶
func (l *GoettyLogger) Fatalf(msg string, fields ...interface{})
func (*GoettyLogger) Infof ¶
func (l *GoettyLogger) Infof(msg string, fields ...interface{})
Click to show internal directories.
Click to hide internal directories.