Documentation ¶
Overview ¶
Package log is a global internal logger DEPRECATED: this is frozen package, use github.com/NSObjects/go-micro/logger
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 GetLogger() dlog.Log
- 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 dlog.Log)
- func SetPrefix(p string)
- func Trace(v ...interface{})
- func Tracef(format string, v ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- func WithLevel(l Level, v ...interface{})
- func WithLevelf(l Level, format string, v ...interface{})
- type Level
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 ¶
WithLevel logs with the level specified
Types ¶
Click to show internal directories.
Click to hide internal directories.