Michael Papper

Results 7 comments of Michael Papper

Is a version available in a relatively stable state that supports DEBUG_FORMAT ? I would like to add my own prefix to all statements (across the entire process) to make...

> Here's how I prepend `[ YYYY/MM/DD - HH:mm:ss ]` to all debug output lines: > > ```js > var moment = require('moment'); > var debug = require('debug'); > debug.formatArgs...

I too am looking for a similar feature (and for node). Specifically I would like to be able to prepend all debug statements with some process-specific _string_ that can later...

RE: #582 If using the suggested #582 fix, In order to add a prefix to all log messages that is process specific, could I do something like this to set...

This would be great for unit testing. I use Jest and need to truncate all tables before each test run. With foreign keys, this is impossible in sqlite (for example)...

I also noticed that calling `config.util.setModuleDefaults(namespace, localOptions)` a second time (with the same value for namespace) does not add the localOptions to the config object.