Documentation
¶
Index ¶
Constants ¶
View Source
const (
LogFileName string = "server.log"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ILogger ¶
type ILogger interface {
Error(msg string, field ...zap.Field)
Info(msg string, field ...zap.Field)
Fatal(msg string, field ...zap.Field)
With(field ...zap.Field) *zap.Logger
//Sugar() *zap.SugaredLogger
//Named(s string) *zap.Logger
//WithOptions(opts ...zap.Option) *zap.Logger
//Debug(msg string, fields ...zap.Field)
//Named(s string) *zap.Logger
//Check(lvl zapcore.Level, msg string) *zapcore.CheckedEntry
//DPanic(msg string, fields ...zap.Field)
//Panic(msg string, fields ...zap.Field)
//Core() zapcore.Core
Sync() error
}
Click to show internal directories.
Click to hide internal directories.