Documentation ¶
Index ¶
- func CoupArray(kv []interface{}) []interface{}
- type Log
- func (l *Log) Debug(msg string, keysAndValues ...interface{})
- func (l *Log) Debugf(format string, args ...interface{})
- func (l *Log) Dump(msg string, keysAndValues ...interface{})
- func (l *Log) Dumpf(format string, args ...interface{})
- func (l *Log) Error(msg string, keysAndValues ...interface{})
- func (l *Log) Errorf(format string, args ...interface{})
- func (l *Log) Fatal(msg string, keysAndValues ...interface{})
- func (l *Log) Fatalf(format string, args ...interface{})
- func (l *Log) Info(msg string, keysAndValues ...interface{})
- func (l *Log) Infof(format string, args ...interface{})
- func (l *Log) Options() string
- func (l *Log) Panic(msg string, keysAndValues ...interface{})
- func (l *Log) Panicf(format string, args ...interface{})
- func (l *Log) SetLogLevel(level options.Level)
- func (l *Log) Sync()
- func (l *Log) Warn(msg string, keysAndValues ...interface{})
- func (l *Log) Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(logger *zap.SugaredLogger, atom zap.AtomicLevel, options *options.Options) *Log
func (*Log) SetLogLevel ¶
Click to show internal directories.
Click to hide internal directories.