As "remote" is a logging context key already, use a different name. (#910)

This commit is contained in:
Raja Subramanian
2022-08-12 23:51:20 +05:30
committed by GitHub
parent b7c44f1ecd
commit 6acd2944bc

View File

@@ -298,10 +298,10 @@ func (t *PCTransport) logICECandidates() {
t.lock.RLock()
t.params.Logger.Infow(
"ice candidates",
"local", t.allowedLocalCandidates,
"remote", t.allowedRemoteCandidates,
"local (filtered)", t.filteredLocalCandidates,
"remote (filtered)", t.filteredRemoteCandidates,
"lc", t.allowedLocalCandidates,
"rc", t.allowedRemoteCandidates,
"lc (filtered)", t.filteredLocalCandidates,
"rc (filtered)", t.filteredRemoteCandidates,
)
t.lock.RUnlock()
}