Open dmportella opened 8 years ago
Guess the real question is do we go with something like standard like winston, or specify an interface people can plug their own loggers into?
My preference would be the latter, it would feel a bit odd for a framework npm to enforce a choice of logging npm.
Joe makes a good point, maybe it's all events.
e.g. client.on('connection-made', (connectionDetails) => { // handler });
yeah i was going to suggest that we should use events to to allow some one to hook it up it.
joe should join the conversation here
@tegud i am also in the later group i rather make it so people can plug in their own logging...
So events it is, no logging needed
aye that seems the best way just use this ticket to add the events if any is needed
Logging must be added. should support logging to file should support logging to custom endpoint (including queue - publishing)