1
0
Fork 0
telegraf/plugins/outputs/application_insights/diagnostic_message_subscriber.go

13 lines
342 B
Go
Raw Permalink Normal View History

package application_insights
import (
"github.com/microsoft/ApplicationInsights-Go/appinsights"
)
type diagnosticsMessageSubscriber struct {
}
func (diagnosticsMessageSubscriber) Subscribe(handler appinsights.DiagnosticsMessageHandler) appinsights.DiagnosticsMessageListener {
return appinsights.NewDiagnosticsMessageListener(handler)
}