Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // VerboseDebugger is a Debugger that allowed prints messages to standard output. VerboseDebugger = &Debugger{enable: true} )
Functions ¶
Types ¶
type Debugger ¶
type Debugger struct {
// contains filtered or unexported fields
}
Debugger is a logger that prints debug information.
func DebuggerFromContext ¶
DebuggerFromContext returns a Debugger stored in a context. If the context does not contain a Debugger the function returns a silent Debugger.
Click to show internal directories.
Click to hide internal directories.