Documentation ¶
Overview ¶
Package log is from https://github.com/micro/go-micro/blob/master/util/log/log.go
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Log(v ...interface{})
- func Logf(format string, v ...interface{})
- func Name(name string)
- func SetLevel(l Level)
- func SetLogger(l Logger)
- func SetPrefix(p string)
- func WithLevel(l Level, v ...interface{})
- func WithLevelf(l Level, format string, v ...interface{})
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatalf ¶
func Fatalf(format string, v ...interface{})
Fatalf logs with Logf and then exits with os.Exit(1)
func WithLevelf ¶
WithLevelf logs with the level specified
Types ¶
Click to show internal directories.
Click to hide internal directories.