Documentation
¶
Index ¶
- func Build(c string) error
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Get() *zap.SugaredLogger
- func HTTP(args ...interface{})
- func HTTPf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Level() int
- func LogJSON() bool
- func Output() io.Writer
- func Print(args ...interface{})
- func Printf(format string, args ...interface{})
- func Set(sl *zap.SugaredLogger)
- func SetLevel(level int)
- func SetLogJSON(logJSON bool)
- func SetOutput(w io.Writer)
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLevel ¶
func SetLevel(level int)
Level is the log level 0: silent - do not log 1: normal - show everything except debug and warn 2: verbose - show everything except debug 3: very verbose - show everything
func SetLogJSON ¶
func SetLogJSON(logJSON bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.