Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureLogging ¶
func ConfigureLogging( level zap.AtomicLevel, developmentLogging bool, initialFields map[string]interface{}, )
func ParseLevel ¶
func ParseLevel(levelString string) zap.AtomicLevel
Types ¶
type Logger ¶
type Logger interface {
Named(s string) Logger
With(fields ...zap.Field) Logger
Debug(msg string, fields ...zap.Field)
Info(msg string, fields ...zap.Field)
Warn(msg string, fields ...zap.Field)
Error(msg string, fields ...zap.Field)
Panic(msg string, fields ...zap.Field)
Fatal(msg string, fields ...zap.Field)
Sync() error
}
func CreateLogger ¶
func MustGetLogger ¶
func MustGetLogger() Logger
Click to show internal directories.
Click to hide internal directories.