DEV Community

Discussion on: Meteor logging facility

Collapse
 
olivierjm profile image
Olivier JM Maniraho

Thanks for this,
Does this logger write to a log file by default or this has to be implemented separately?

Collapse
 
storytellercz profile image
Jan Dvorak

The logger currently writes out in the console. Currently you have to implement any third-party or additional functionality separately.
I have a PR to update this package: github.com/meteor/meteor/pull/11068
I'm also planning to add a hook that would allow you to easily plug into the reporting so that you only need to call one log function. There are a few ways of how this can be implemented, but I'm most likely going to use the Meteor hook utility that I recently found (probably for another article) so that it has a familiar setup and use.

Collapse
 
olivierjm profile image
Olivier JM Maniraho

Awesome, thanks a lot for the explanation, I will surely try it out.