Fix proxy logging verb tense

This commit is contained in:
pjsier 2022-02-28 18:38:17 -06:00
parent 01ae5b56e8
commit df22114fce

View file

@ -39,7 +39,7 @@ func (p *logEventLogger) OnNewSnowflakeEvent(e event.SnowflakeEvent) {
func (p *logEventLogger) logTick() error { func (p *logEventLogger) logTick() error {
inbound, inboundUnit := formatTraffic(p.inboundSum) inbound, inboundUnit := formatTraffic(p.inboundSum)
outbound, outboundUnit := formatTraffic(p.inboundSum) outbound, outboundUnit := formatTraffic(p.inboundSum)
p.logger.Printf("In the last %v, there are %v connections. Traffic Relayed ↑ %v %v, ↓ %v %v.\n", p.logger.Printf("In the last %v, there were %v connections. Traffic Relayed ↑ %v %v, ↓ %v %v.\n",
p.logPeriod.String(), p.connectionCount, inbound, inboundUnit, outbound, outboundUnit) p.logPeriod.String(), p.connectionCount, inbound, inboundUnit, outbound, outboundUnit)
p.outboundSum = 0 p.outboundSum = 0
p.inboundSum = 0 p.inboundSum = 0