Servus,

I use winston and have several log-levels. 
winston.log('info', 'foo');
winston.log('warn', 'bar');
winston.log('error', 'foobar');

How can I supress infos within a 'production'-environment, without changing 
the code before deploying.
How can I switch off infos while "normal" development and switch it on only 
while debugging, without changing sources, too?

Any hints?

   Wolfgang

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to