Documentation ¶
Index ¶
- Constants
- func Die(msg string, err error)
- func Disable()
- func Fail(msg string)
- func FailWithDetails(msg string, details string)
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Fatalln(v ...interface{})
- func Go(msg string)
- func LevelStrings() []string
- func LevelToString(level Level) (string, bool)
- func Log(msg string)
- func MustLevelToString(level Level) string
- func NewLine(msg string)
- func Ok(msg string)
- func Print(v ...interface{})
- func Printf(format string, v ...interface{})
- func Println(v ...interface{})
- func Replace(newWriter io.Writer) (formerWriter io.Writer)
- func Rollback(msg string)
- func Run(msg string)
- func SetV(level Level)
- func Skip(msg string)
- func Stderr(stderr string)
- func UnsafeDie(msg string, err error)
- func UnsafeFail(msg string)
- func UnsafeFatal(v ...interface{})
- func UnsafeFatalf(format string, v ...interface{})
- func UnsafeFatalln(v ...interface{})
- func UnsafeGo(msg string)
- func UnsafeLog(msg string)
- func UnsafeNewLine(msg string)
- func UnsafeOk(msg string)
- func UnsafePrint(v ...interface{})
- func UnsafePrintf(format string, v ...interface{})
- func UnsafePrintln(v ...interface{})
- func UnsafeRollback(msg string)
- func UnsafeRun(msg string)
- func UnsafeSkip(msg string)
- func UnsafeStderr(stderr string)
- func UnsafeWarn(msg string)
- func Warn(msg string)
- type Level
- type Logger
- func (l Logger) Die(msg string, err error)
- func (l Logger) Fail(msg string)
- func (l Logger) FailWithDetails(msg string, details string)
- func (l Logger) Fatal(v ...interface{})
- func (l Logger) Fatalf(format string, v ...interface{})
- func (l Logger) Fatalln(v ...interface{})
- func (l Logger) Go(msg string)
- func (l Logger) Lock()
- func (l Logger) Log(msg string)
- func (l Logger) NewLine(msg string)
- func (l Logger) Ok(msg string)
- func (l Logger) Print(v ...interface{})
- func (l Logger) Printf(format string, v ...interface{})
- func (l Logger) Println(v ...interface{})
- func (l Logger) Rollback(msg string)
- func (l Logger) Run(msg string)
- func (l Logger) Skip(msg string)
- func (l Logger) Stderr(stderr string)
- func (l Logger) Unlock()
- func (l Logger) UnsafeDie(msg string, err error)
- func (l Logger) UnsafeFail(msg string)
- func (l Logger) UnsafeFatal(v ...interface{})
- func (l Logger) UnsafeFatalf(format string, v ...interface{})
- func (l Logger) UnsafeFatalln(v ...interface{})
- func (l Logger) UnsafeGo(msg string)
- func (l Logger) UnsafeLog(msg string)
- func (l Logger) UnsafeNewLine(msg string)
- func (l Logger) UnsafeOk(msg string)
- func (l Logger) UnsafePrint(v ...interface{})
- func (l Logger) UnsafePrintf(format string, v ...interface{})
- func (l Logger) UnsafePrintln(v ...interface{})
- func (l Logger) UnsafeRollback(msg string)
- func (l Logger) UnsafeRun(msg string)
- func (l Logger) UnsafeSkip(msg string)
- func (l Logger) UnsafeStderr(stderr string)
- func (l Logger) UnsafeWarn(msg string)
- func (l Logger) Warn(msg string)
Constants ¶
View Source
const ( Trace = iota Debug Verbose Info Off )
Variables ¶
This section is empty.
Functions ¶
func FailWithDetails ¶
func LevelStrings ¶
func LevelStrings() []string
func LevelToString ¶
func MustLevelToString ¶
func UnsafeFail ¶
func UnsafeFail(msg string)
func UnsafeFatal ¶
func UnsafeFatal(v ...interface{})
func UnsafeFatalf ¶
func UnsafeFatalf(format string, v ...interface{})
func UnsafeFatalln ¶
func UnsafeFatalln(v ...interface{})
func UnsafeNewLine ¶
func UnsafeNewLine(msg string)
func UnsafePrint ¶
func UnsafePrint(v ...interface{})
func UnsafePrintf ¶
func UnsafePrintf(format string, v ...interface{})
func UnsafePrintln ¶
func UnsafePrintln(v ...interface{})
func UnsafeRollback ¶
func UnsafeRollback(msg string)
func UnsafeSkip ¶
func UnsafeSkip(msg string)
func UnsafeStderr ¶
func UnsafeStderr(stderr string)
func UnsafeWarn ¶
func UnsafeWarn(msg string)
Types ¶
type Logger ¶
type Logger bool
func (Logger) FailWithDetails ¶
func (Logger) UnsafeFail ¶
func (Logger) UnsafeFatal ¶
func (l Logger) UnsafeFatal(v ...interface{})
func (Logger) UnsafeFatalf ¶
func (Logger) UnsafeFatalln ¶
func (l Logger) UnsafeFatalln(v ...interface{})
func (Logger) UnsafeNewLine ¶
func (Logger) UnsafePrint ¶
func (l Logger) UnsafePrint(v ...interface{})
func (Logger) UnsafePrintf ¶
func (Logger) UnsafePrintln ¶
func (l Logger) UnsafePrintln(v ...interface{})
func (Logger) UnsafeRollback ¶
func (Logger) UnsafeSkip ¶
func (Logger) UnsafeStderr ¶
func (Logger) UnsafeWarn ¶
Click to show internal directories.
Click to hide internal directories.