Skip to content

Commit

Permalink
fix(@libp2p/webrtc): update stream logger name to webrtc (#2035)
Browse files Browse the repository at this point in the history
Fixes typo in stream logger name for webrtc transport

Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
  • Loading branch information
achingbrain and maschad committed Sep 10, 2023
1 parent d13cd49 commit 0d228f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/transport-webrtc/src/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,6 @@ export function createStream (options: WebRTCStreamOptions): WebRTCStream {
dataChannelOptions,
onEnd,
channel,
log: logger(`libp2p:mplex:stream:${direction}:${channel.id}`)
log: logger(`libp2p:webrtc:stream:${direction}:${channel.id}`)
})
}

0 comments on commit 0d228f9

Please sign in to comment.