Skip to content

loglevel print duplicate log in React component #171

Closed
@rsi-yhe

Description

@rsi-yhe

Screen Shot 2021-10-08 at 11 57 03 AM
Hi, I try to use loglevel in React, and seeing it print duplicate lines.
The project is freshly created with create-react-app and I just added two lines of loglevel.log and console.log in the App.tsx. As you can see in chrome console, console.log printed one time and loglevel.log printed twice.
I'm not sure if this is expected or I'm doing it wrong. Couldn't find any similar topic by just googling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions