Documentation
¶
Index ¶
- func FormatString(_ verbosity.Verbosity, msg string, kv ...label.KeyValue) string
- type Output
- func Ansi(out Output) Output
- func Buffer(buf *bytes.Buffer) Output
- func Format(out Output, format *formatter.Formatter) Output
- func New(w io.Writer, ...) Output
- func None(out Output) Output
- func Quiet() Output
- func Stderr() Output
- func Stdout() Output
- func Verbosity(out Output, verb verbosity.Verbosity) Output
- func (o Output) Debug(ctx context.Context, args ...interface{})
- func (o Output) DebugKV(ctx context.Context, msg string, kv ...label.KeyValue)
- func (o Output) Info(ctx context.Context, args ...interface{})
- func (o Output) InfoKV(ctx context.Context, msg string, kv ...label.KeyValue)
- func (o Output) Print(ctx context.Context, args ...interface{})
- func (o Output) PrintKV(ctx context.Context, msg string, kv ...label.KeyValue)
- func (o Output) Printf(ctx context.Context, format string, args ...interface{})
- func (o Output) Println(ctx context.Context, args ...interface{})
- func (o Output) Trace(ctx context.Context, args ...interface{})
- func (o Output) TraceKV(ctx context.Context, msg string, kv ...label.KeyValue)
- func (o Output) Write(b []byte) (int, error)
- func (o Output) Writer(ctx context.Context, verb verbosity.Verbosity) io.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.