Documentation ¶
Index ¶
- func Errorf(format string, args ...interface{})
- func Errorln(args ...interface{})
- func Flush()
- func Infof(level int, format string, args ...interface{})
- func Infoln(level int, args ...interface{})
- func InitFlags(flagset *flag.FlagSet)
- func New(flagset *flag.FlagSet) dawn.Moduler
- func SetOutput(w io.Writer)
- func Warningf(format string, args ...interface{})
- func Warningln(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs to the ERROR, WARNING, and INFO logs. Arguments are handled in the manner of fmt.Printf; a newline is appended if missing.
func Errorln ¶
func Errorln(args ...interface{})
Errorln logs to the ERROR, WARNING, and INFO logs. Arguments are handled in the manner of fmt.Println; a newline is always appended.
func Infoln ¶
func Infoln(level int, args ...interface{})
Infoln is equivalent to the global Infoln function, guarded by the value of v.
func InitFlags ¶
InitFlags is for explicitly initializing the flags. Default to use logs as log dir.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.