Skip to content

refactor: logging improvements - all components should receive a logger component #2105

Closed
@SgtPooki

Description

@SgtPooki

We discussed in https://pl-strflt.notion.site/Mob-Coding-session-2f0cdd202cdf4b6faec03bd87ca15703?pvs=4 how having a logger component that includes the last 5 characters of the peerId could be incredibly useful when running multiple nodes locally

One way we discussed for accomplishing this is to pass a logger component to all components similar to how other components reference each other.

### Tasks
- [ ] https://github.com/libp2p/js-libp2p/issues/378
- [ ] https://github.com/libp2p/js-libp2p/issues/2207

Metadata

Metadata

Assignees

No one assigned

    Labels

    dxDeveloper Experience

    Type

    No type

    Projects

    Status

    🎉Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions