blackberry/BB10-Webworks-Packager — pull request #227 by gtanner (2012-12-04 17:34:23+00:00)
Title: Add log level params to bbwp

Fixes Issue # 221

This fix was added mainly for phonegap where a lot of the warnings being
shown were just noise and causing confusion.

Three commands now exist:
--verbose: the default and the current behavour of bbwp. logs everything
--warn: logs warning and info messages
--error: logs error and info messages

Not providing any of these args sets the level to verbose.

When providing these on the command line, the most verbose wins. So
calling bbwp --warn --error will set the level to warn.

The reason we always log info messages is because these messages
are mostly used for important information such as (build done, build
starting, etc).