kutuluk / loglevel-plugin-remote

A loglevel plugin for sending browser logs to a server
MIT License
102 stars 36 forks source link

Logged object pushed into logs array #39

Open davidslaby opened 3 years ago

davidslaby commented 3 years ago

There is no option to send log as Object. @kutuluk Do you think it's possible to add this option?

davidslaby commented 3 years ago

Even if I use format function, I'm getting a formatted Object in Array. I think it's better to leave it to the developer how he wants to return value when he chose this way.

davidslaby commented 3 years ago

@Looooopy @kristofferahl? Could you help me with that please? 🙂

kristofferahl commented 3 years ago

Sorry @davidslaby, haven't been using it for years. Doesn't look like there's much activity to the project. Fork and PR would be my advice.

davidslaby commented 3 years ago

Hi @kristofferahl, it's done within https://github.com/kutuluk/loglevel-plugin-remote/pull/40. Could you check, please? I did the change the way how it should not affect projects using that. Btw. There is a couple of outdated dependencies, so maybe it would be good to make audit. Thanks for collaboration 🙂.