shane-tomlinson/browserid — pull request #13 by shane-tomlinson (2013-09-12 14:37:54+00:00)
Title: Universal log

@6a68, @kparlante - this is what I am starting to think about w.r.t. "universal logging".

The approach is to keep the current logging interfaces, but those interfaces pass messages to winston. Different Winston transports can collect the items they care about, writing to console, to disk, to Heka, to KPiggybank, wherever.

This makes it so *all* logging messages are passed through winston, that way we have a single place where we can listen for messages and can easily add/remove listeners when new uses come up.

Is the approach sane?