Documentation ¶
Index ¶
- func Coordination(log Logger, details trace.Details) (t trace.Coordination)
- func Discovery(log Logger, details trace.Details) (t trace.Discovery)
- func Driver(log Logger, details trace.Details) (t trace.Driver)
- func Ratelimiter(log Logger, details trace.Details) (t trace.Ratelimiter)
- func Retry(log Logger, details trace.Details) (t trace.Retry)
- func Scheme(log Logger, details trace.Details) (t trace.Scheme)
- func Scripting(log Logger, details trace.Details) (t trace.Scripting)
- func Table(log Logger, details trace.Details) (t trace.Table)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Coordination ¶ added in v3.10.0
func Coordination(log Logger, details trace.Details) (t trace.Coordination)
func Ratelimiter ¶ added in v3.10.0
func Ratelimiter(log Logger, details trace.Details) (t trace.Ratelimiter)
Types ¶
type Logger ¶
type Logger interface { // Tracef logs at Trace logger level using fmt formatter Tracef(format string, args ...interface{}) // Debugf logs at Debug logger level using fmt formatter Debugf(format string, args ...interface{}) // Infof logs at Info logger level using fmt formatter Infof(format string, args ...interface{}) // Warnf logs at Warn logger level using fmt formatter Warnf(format string, args ...interface{}) // Errorf logs at Error logger level using fmt formatter Errorf(format string, args ...interface{}) // Fatalf logs at Fatal logger level using fmt formatter Fatalf(format string, args ...interface{}) // WithName provide applying sub-scope of logger messages WithName(name string) Logger }
Click to show internal directories.
Click to hide internal directories.