mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-06 21:57:36 +03:00
create a logger interface and use it everywhere
This commit is contained in:
parent
1e9b3f0bb2
commit
948eef3e42
52 changed files with 411 additions and 281 deletions
|
@ -25,6 +25,8 @@ type baseFlowController struct {
|
|||
epochStartTime time.Time
|
||||
epochStartOffset protocol.ByteCount
|
||||
rttStats *congestion.RTTStats
|
||||
|
||||
logger utils.Logger
|
||||
}
|
||||
|
||||
func (c *baseFlowController) AddBytesSent(n protocol.ByteCount) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue