Closed rhyslbw closed 8 years ago
Ready for review @DominikGuzei
Know issue: Client side logger can be started/stopped without authorisation, and limiting this isn't really the scope of this feature as it's related to permissions.
Still have the first two items from the first comment too
Great, looks like good first version to work with :wink: we can still do the refactoring to singleton / module later on as it wont be a breaking change. Let's move on for now!
The only thing that's strange about this PR is that it pulled in all of my changes in the other PR although they already have been merged … not the most exciting "feature" of Github :stuck_out_tongue:
Yep agreed, I will do the once-over in the morning and resolve the conflicts. I manually merged the last merged PR, so that may be the problem
Global Space.Configuration.log.enabled property set via ENV var, defaulting to false Logging functionality handled using the powerful and well supported Winston npm package. Only a single Console transporter now, but I've done an outline of a Meteor Mongo Collection Custom Transporter that we can use to persist errors to the db. That can be a generic tool either within space or not.