Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConsoleRelay outputs objects as "[object Object]" #2

Open
panganibanpj opened this issue Dec 18, 2015 · 1 comment
Open

ConsoleRelay outputs objects as "[object Object]" #2

panganibanpj opened this issue Dec 18, 2015 · 1 comment

Comments

@panganibanpj
Copy link

Has to do with Array.prototype.join doing a toString type thing on it's arguments:
https://github.com/rei/balsa/blob/master/relays/base.js#L69

@panganibanpj
Copy link
Author

Can workaround by doing new ConsoleRelay({ formatMessage: false }) and inlining your format in your messages (i.e. timestamp, prefix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant