Documentation
¶
Overview ¶
https://github.com/smallnest/rpcxlite/tree/master/log https://qvault.io/golang/golang-logging-best-practices/
Index ¶
- 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 SetLogger(logger Logger)
- func SetVerbose(verbose bool)
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetVerbose ¶
func SetVerbose(verbose bool)
Types ¶
type Logger ¶
type Logger interface { SetVerbose(verbose bool) Info(v ...interface{}) Infof(format string, v ...interface{}) Warn(v ...interface{}) Warnf(format string, v ...interface{}) Error(v ...interface{}) Errorf(format string, v ...interface{}) Fatal(v ...interface{}) Fatalf(format string, v ...interface{}) }
Click to show internal directories.
Click to hide internal directories.