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/inputs/snmp_trap/logger.go
Normal file
17
plugins/inputs/snmp_trap/logger.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package snmp_trap
|
||||
|
||||
import "github.com/influxdata/telegraf"
|
||||
|
||||
type logger struct {
|
||||
telegraf.Logger
|
||||
}
|
||||
|
||||
// Printf formats and writes the given string to the standard output.
|
||||
func (l logger) Printf(format string, args ...interface{}) {
|
||||
l.Tracef(format, args...)
|
||||
}
|
||||
|
||||
// Print writes the given string to the standard output.
|
||||
func (l logger) Print(args ...interface{}) {
|
||||
l.Trace(args...)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue