flatiron/winston — Issue #82: Prefix option
Author: jgallen23
Created: 2012-01-05 00:47:56+00:00
State: open

In my app I have many different pieces that all need logging. It would be nice to have the ability to prefix all log messages with some string (the module name or something) so that I know exactly where it was logged from. Currently, I'm manually prefixing, but it would be nice to define the prefix once (or auto determine based on filename, module, etc). Thoughts?