towergame / yatsl

Yet Another TypeScript Logger
https://www.npmjs.com/package/yatsl
MIT License
3 stars 2 forks source link

Detect and handle circular structures when logging objects #26

Open towergame opened 2 years ago

towergame commented 2 years ago

Currently the logger throws an exception if the JSON stringifier is given a circular structure.

Ideally the logger should have a way to detect a circular structure and handle it in some way.