Documentation
¶
Index ¶
- func NewNopLogger() telegraf.Logger
- func SetPrometheusRemoteWriteTestingEnv(t *testing.T)
- func SetUpTestInputStream() chan<- string
- func Type(inputChan chan<- string, inputString ...string)
- type LogSink
- func (l *LogSink) Debug(args ...any)
- func (l *LogSink) Debugf(format string, args ...any)
- func (l *LogSink) Error(args ...any)
- func (l *LogSink) Errorf(format string, args ...any)
- func (l *LogSink) Info(args ...any)
- func (l *LogSink) Infof(format string, args ...any)
- func (l *LogSink) Lines() []string
- func (l *LogSink) String() string
- func (l *LogSink) Warn(args ...any)
- func (l *LogSink) Warnf(format string, args ...any)
- type NopLogger
- func (n NopLogger) Debug(...interface{})
- func (n NopLogger) Debugf(string, ...interface{})
- func (n NopLogger) Error(...interface{})
- func (n NopLogger) Errorf(string, ...interface{})
- func (n NopLogger) Info(...interface{})
- func (n NopLogger) Infof(string, ...interface{})
- func (n NopLogger) Warn(...interface{})
- func (n NopLogger) Warnf(string, ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNopLogger ¶ added in v1.300053.1
func SetPrometheusRemoteWriteTestingEnv ¶ added in v1.300048.0
func SetUpTestInputStream ¶
func SetUpTestInputStream() chan<- string
Types ¶
type LogSink ¶ added in v1.300053.1
type LogSink struct {
// contains filtered or unexported fields
}
func NewLogSink ¶ added in v1.300053.1
func NewLogSink() *LogSink
Click to show internal directories.
Click to hide internal directories.