Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNoProgress ¶ added in v0.24.0
func NewNoProgress(level LogLevel) *console_no_progress
Types ¶
type Tracer ¶
type Tracer interface {
// Start the named tracer.
Start(format string, args ...interface{})
// Stop the named tracer.
Stop(format string, args ...interface{})
// Log a message.
Log(format string, args ...interface{})
// LogError logs an error message.
LogError(format string, args ...interface{})
// Close the tracer.
Close()
Debug() Tracer
// WithLevel is used to set tracer log level at creation
WithLevel(level LogLevel)
}
Tracer defines tracing methods.
Click to show internal directories.
Click to hide internal directories.