Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreError ¶
func IgnoreError(err error)
IgnoreError logs an error that's considered not important by the caller
func IgnoreError2 ¶
func InjectPlannedError ¶
func Profile ¶
func Profile(what string) func()
Profile starts profiling based on the content of 'what' Must be called with defer: defer debug.Profile("cpu")
func SetupError ¶ added in v22.11.1
Types ¶
type Tracer ¶
type Tracer interface {
WithStopwatch() Tracer
EnteringMessage() string
Entering() Tracer
ExitingMessage() string
Exiting() Tracer
TraceMessage(msg ...interface{}) string
Trace(msg ...interface{}) Tracer
TraceAsError(msg ...interface{}) Tracer
Stopwatch() temporal.Stopwatch
}
Tracer ...
Click to show internal directories.
Click to hide internal directories.