Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugEnabled ¶
func DebugEnabled() bool
func DebugTimer ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) DebugEnabled ¶
func (*Logger) DebugTimer ¶
DebugTimer logs a DEBUG start message and returns a closure that logs a DEBUG done message with duration. When DEBUG is disabled, it returns a no-op closure and does not call time.Now().
Click to show internal directories.
Click to hide internal directories.