MCPcopy
hub / github.com/cloudflare/cloudflared / logConnecting

Method logConnecting

connection/observer.go:49–56  ·  view source on GitHub ↗
(connIndex uint8, address net.IP, protocol Protocol)

Source from the content-addressed store, hash-verified

47}
48
49func (o *Observer) logConnecting(connIndex uint8, address net.IP, protocol Protocol) {
50 o.log.Debug().
51 Int(management.EventTypeKey, int(management.Cloudflared)).
52 Uint8(LogFieldConnIndex, connIndex).
53 IPAddr(LogFieldIPAddress, address).
54 Str(LogFieldProtocol, protocol.String()).
55 Msg("Registering tunnel connection")
56}
57
58func (o *Observer) logConnected(connectionID uuid.UUID, connIndex uint8, location string, address net.IP, protocol Protocol) {
59 o.log.Info().

Callers 1

ServeControlStreamMethod · 0.80

Calls 2

IntMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected