Documentation
¶
Index ¶
- Constants
- Variables
- func Continue(header string, err error) (shouldContinue bool)
- func IsVerbose() bool
- func Retry(header string, err error) (tryAgain bool)
- func SetTesting()
- func SetTodoOn()
- func SetVerbose()
- func Todo(f string, a ...interface{}) (err error)
- func TodoP0(f string, a ...interface{}) (err error)
- func TodoP1(f string, a ...interface{}) (err error)
- func TodoP2(f string, a ...interface{}) (err error)
- func TodoP3(f string, a ...interface{}) (err error)
- func TodoP4(f string, a ...interface{}) (err error)
- func TodoP5(f string, a ...interface{}) (err error)
- func TodoRecoverable(f string, a ...interface{}) (err error)
- type DevPrinter
- type Priority
- type ProdPrinter
Constants ¶
View Source
const ( P0 = Priority(iota) P1 P2 P3 P4 P5 )
Variables ¶
View Source
var (
SetOutput = log.SetOutput
)
Functions ¶
func SetTesting ¶
func SetTesting()
func SetVerbose ¶
func SetVerbose()
func TodoRecoverable ¶
Types ¶
type DevPrinter ¶
type DevPrinter interface { ProdPrinter Caller(i int, vs ...interface{}) FunctionName(skip int) }
func Debug ¶
func Debug() DevPrinter
func DebugAllowCommit ¶
func DebugAllowCommit() DevPrinter
func DebugBatsTestBody ¶
func DebugBatsTestBody() DevPrinter
func Log ¶
func Log() DevPrinter
type ProdPrinter ¶
type ProdPrinter interface { Print(v ...interface{}) error Printf(format string, v ...interface{}) error }
func Err ¶
func Err() ProdPrinter
func Out ¶
func Out() ProdPrinter
Click to show internal directories.
Click to hide internal directories.