Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Multiaddr formatter doesn't work #35

Closed
achingbrain opened this issue Jun 2, 2023 · 2 comments · Fixed by #36
Closed

Multiaddr formatter doesn't work #35

achingbrain opened this issue Jun 2, 2023 · 2 comments · Fixed by #36
Labels

Comments

@achingbrain
Copy link
Member

The formatter added in #34 doesn't work:

Code:

log('%ma is externally dialable', addr)

Log output:

libp2p:autonat a is externally dialable +0ms

cc @maschad @MarcoPolo

@maschad
Copy link
Member

maschad commented Jun 2, 2023

Good catch, since debug-js uses printf-style formatting, %ma wouldn't work. I pushed a fix.

maschad added a commit to maschad/js-libp2p-logger that referenced this issue Jun 2, 2023
@github-actions
Copy link

github-actions bot commented Jun 2, 2023

🎉 This issue has been resolved in version 2.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants