Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
17
plugins/common/mqtt/mqtt_logger.go
Normal file
17
plugins/common/mqtt/mqtt_logger.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package mqtt
|
||||
|
||||
import (
|
||||
"github.com/influxdata/telegraf"
|
||||
)
|
||||
|
||||
type mqttLogger struct {
|
||||
telegraf.Logger
|
||||
}
|
||||
|
||||
func (l mqttLogger) Printf(fmt string, args ...interface{}) {
|
||||
l.Logger.Debugf(fmt, args...)
|
||||
}
|
||||
|
||||
func (l mqttLogger) Println(args ...interface{}) {
|
||||
l.Logger.Debug(args...)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue