Documentation ¶
Overview ¶
Package logger provides logging functions. As default, logger discards all passed messages. See SetOutput for more details.
Index ¶
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Printf(format string, v ...interface{})
- func Println(v ...interface{})
- func Reset()
- func Scriptf(format string, f func() []interface{})
- func Scriptln(f func() []interface{})
- func SetOutput(w io.Writer)
- func SetPrefix(p string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Scriptf ¶ added in v0.7.3
func Scriptf(format string, f func() []interface{})
Scriptf is similar with Scriptln, but for formatting output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.