log

package
v0.0.0-...-21e9474 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(id string, err error)

func Debug

func Debug(s string)

func DebugFmt

func DebugFmt(s string, a ...interface{})

func Error

func Error(s string, v ...interface{})

func Info

func Info(s string)

func InfoFmt

func InfoFmt(s string, a ...interface{})

func Log

func Log(s string)

func LogFmt

func LogFmt(s string, a ...interface{})

func LogWhite

func LogWhite(s string)

func Panic

func Panic(id string, err error)

func Printf

func Printf(s string, a ...interface{})

func Println

func Println(s string)

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 UseSync

func UseSync()

func VerboseAll

func VerboseAll()

func VerboseOnlyErrors

func VerboseOnlyErrors()

func VerboseProduction

func VerboseProduction()

func Warning

func Warning(s string)

func WarningFmt

func WarningFmt(s string, v ...interface{})

Types

type AsyncStdout

type AsyncStdout struct {
	// contains filtered or unexported fields
}

func (*AsyncStdout) Write

func (a *AsyncStdout) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL