Documentation ¶
Index ¶
- func AddOut(out ...io.Writer)
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Disable()
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func SetDevelopment(dev bool)
- func SetOut(w ...io.Writer)
- func ShowTimestamp(show bool)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf is like Debug but takes a formatted message.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf is like Error but takes a formatted message.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf is like Fatal but takes a formatted message.
func Infof ¶
func Infof(format string, args ...interface{})
Infof is like Info but takes a formatted message.
func SetDevelopment ¶
func SetDevelopment(dev bool)
SetDevelopment enables/disables the development mode.
func ShowTimestamp ¶
func ShowTimestamp(show bool)
ShowTimestamp determines where the timestamp will be logged or not.
Types ¶
Click to show internal directories.
Click to hide internal directories.