mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Use event logger for proxy starting message and NAT info
This commit is contained in:
parent
2f55581098
commit
768b80dbdf
3 changed files with 21 additions and 2 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue