Documentation ¶
Index ¶
- func Check(id string, err error)
- func Debug(s string)
- func DebugFmt(s string, a ...interface{})
- func Error(s string, v ...interface{})
- func Info(s string)
- func InfoFmt(s string, a ...interface{})
- func Log(s string)
- func LogFmt(s string, a ...interface{})
- func LogWhite(s string)
- func Panic(id string, err error)
- func Printf(s string, a ...interface{})
- func Println(s string)
- func SetNoColoring()
- func UseAsync()
- func UseSync()
- func VerboseAll()
- func VerboseOnlyErrors()
- func VerboseProduction()
- func Warning(s string)
- func WarningFmt(s string, v ...interface{})
- type AsyncStdout
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetNoColoring ¶
func SetNoColoring()
func UseAsync ¶
func UseAsync()
This can work unstable, use on you at you own risk Some logs can be logged not on real order
func VerboseAll ¶
func VerboseAll()
func VerboseOnlyErrors ¶
func VerboseOnlyErrors()
func VerboseProduction ¶
func VerboseProduction()
func WarningFmt ¶
func WarningFmt(s string, v ...interface{})
Types ¶
type AsyncStdout ¶
type AsyncStdout struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.