Skip to content

protect logmatic.js from circular structure #22

@chatondearu

Description

@chatondearu

Hello GOD

when we debug javascript we cannot use correctly our console log because logmatic-js try to convert circular structure into JSON (yeah infinite loop).

so I need to stop logmatic-js to see my log.

Uncaught TypeError: Converting circular structure to JSON
    at JSON.stringify (<anonymous>)
    at eval (eval at 194 (****/1.logmatic-js.js:6:2), <anonymous>:303:49)
    at Array.map (native)
    at Object.console.(anonymous function) [as log]

can you path/prevent this for the next version ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions