You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// SessionTrace defines a structure for handling trace events
type SessionTrace struct {
// ConnectStart is called before establishing a network connection to an agent.
ConnectStart func(config *sessionConfig)
// ConnectDone is called when the network connection attempt completes, with err indicating
// whether it was successful.
ConnectDone func(config *sessionConfig, err error)
etc etc
A work around is to use one of the supplied ones i.e. DiagnosticLoggingHooks, DefaultLoggingHooks or NoOpLoggingHooks (though as I want simply timings, the DiagnosticLoggingHooks one very verbose)
The text was updated successfully, but these errors were encountered:
I want to do this ...
but quoting https://github.com/damianoneill/net/blob/master/v2/snmp/trace.go :
A work around is to use one of the supplied ones i.e. DiagnosticLoggingHooks, DefaultLoggingHooks or NoOpLoggingHooks (though as I want simply timings, the DiagnosticLoggingHooks one very verbose)
The text was updated successfully, but these errors were encountered: