traefik/pkg/log/datadog.go

14 lines
219 B
Go
Raw Normal View History

2023-12-06 13:36:05 +00:00
package log
type DatadogLogger struct {
logger Logger
}
func NewDatadogLogger(logger Logger) *DatadogLogger {
return &DatadogLogger{logger: logger}
}
func (d DatadogLogger) Log(msg string) {
d.logger.Debug(msg)
}