Documentation ¶
Index ¶
- type FiberLogger
- func (l *FiberLogger) SetLevel(level log.Level)
- func (l *FiberLogger) SetOutput(_ io.Writer)
- func (l *FiberLogger) Trace(v ...interface{})
- func (l *FiberLogger) Tracef(format string, v ...interface{})
- func (l *FiberLogger) Tracew(msg string, keysAndValues ...interface{})
- func (l *FiberLogger) WithContext(_ context.Context) log.CommonLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FiberLogger ¶
type FiberLogger struct { *zap.SugaredLogger // contains filtered or unexported fields }
FiberLogger fiber日志
func (*FiberLogger) SetLevel ¶
func (l *FiberLogger) SetLevel(level log.Level)
SetLevel implement log.ControlLogger
func (*FiberLogger) SetOutput ¶
func (l *FiberLogger) SetOutput(_ io.Writer)
SetOutput implement log.ControlLogger
func (*FiberLogger) Trace ¶
func (l *FiberLogger) Trace(v ...interface{})
func (*FiberLogger) Tracef ¶
func (l *FiberLogger) Tracef(format string, v ...interface{})
func (*FiberLogger) Tracew ¶
func (l *FiberLogger) Tracew(msg string, keysAndValues ...interface{})
func (*FiberLogger) WithContext ¶
func (l *FiberLogger) WithContext(_ context.Context) log.CommonLogger
WithContext implement log.AllLogger
Click to show internal directories.
Click to hide internal directories.