Use event logger for proxy starting message and NAT info

This commit is contained in:
itchyonion 2022-11-07 15:20:20 -08:00
parent 2f55581098
commit 768b80dbdf
No known key found for this signature in database
GPG key ID: 4B87B720348500EA
3 changed files with 21 additions and 2 deletions

View file

@ -33,6 +33,8 @@ func (p *logEventLogger) OnNewSnowflakeEvent(e event.SnowflakeEvent) {
p.inboundSum += e.InboundTraffic
p.outboundSum += e.OutboundTraffic
p.connectionCount += 1
default:
p.logger.Println(e.String())
}
}