Documentation ¶
Index ¶
- func ChangeLevel(newlevel string)
- func Debug(args ...interface{})
- func DebugIf(cond bool, args ...interface{})
- func Debugf(template string, args ...interface{})
- func DebugfIf(cond bool, template string, args ...interface{})
- func Error(args ...interface{})
- func ErrorIf(cond bool, args ...interface{})
- func Errorf(template string, args ...interface{})
- func ErrorfIf(cond bool, template string, args ...interface{})
- func Fatal(args ...interface{})
- func FatalIf(cond bool, args ...interface{})
- func Fatalf(template string, args ...interface{})
- func FatalfIf(cond bool, template string, args ...interface{})
- func Info(args ...interface{})
- func InfoIf(cond bool, args ...interface{})
- func Infof(template string, args ...interface{})
- func InfofIf(cond bool, template string, args ...interface{})
- func MylogInit(filename string, to_stdout bool, log_level string) error
- func MylogInitErr(filename string) error
- func Panic(args ...interface{})
- func PanicIf(cond bool, args ...interface{})
- func Panicf(template string, args ...interface{})
- func PanicfIf(cond bool, template string, args ...interface{})
- func Warn(args ...interface{})
- func WarnIf(cond bool, args ...interface{})
- func Warnf(template string, args ...interface{})
- func WarnfIf(cond bool, template string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeLevel ¶
func ChangeLevel(newlevel string)
func Fatal ¶
func Fatal(args ...interface{})
Fatal uses fmt.Sprint to construct and log a message, then calls os.Exit.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.