telegraf/plugins/outputs/application_insights/diagnostic_message_subscrib...

13 lines
345 B
Go

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