Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamespace ¶ added in v0.4.1
func GetNamespace() string
GetNamespace retrieves the current global namespace for debugging.
func GetOutput ¶ added in v0.2.6
GetOutput retrieves the current global output configuration for debugging.
func GetUseColors ¶ added in v0.6.0
func GetUseColors() bool
GetUseColors retrieves the current global color usage for debugging.
func SetFormat ¶ added in v0.6.2
func SetFormat(format Format)
SetFormat sets the global output format for debugging.
func SetNamespace ¶ added in v0.4.1
func SetNamespace(namespace string)
SetNamespace sets the global namespace for debugging.
func SetTimestamp ¶ added in v0.2.3
func SetTimestamp(timestamp *Timestamp)
SetTimestamp sets the global timestamp configuration for debugging.
func SetUseColors ¶ added in v0.6.0
func SetUseColors(use bool)
SetUseColors sets the global color usage for debugging.
Types ¶
type Debugger ¶ added in v0.2.0
type Debugger struct {
// contains filtered or unexported fields
}
func (*Debugger) Debugf ¶ added in v0.2.0
Debugf logs a formatted message if the debuggers namespace matches
func (*Debugger) Extend ¶ added in v0.2.0
Extend creates a new debugger instance with an extended namespace
Click to show internal directories.
Click to hide internal directories.