mixu / gluejs

Build CommonJS modules for the browser via a chainable API
http://mixu.net/gluejs/
165 stars 13 forks source link

Log Level #10

Closed uipoet closed 11 years ago

uipoet commented 11 years ago

I've got Glue.js building a package on every view when the environment is development. Functionally, everything works great. The usability isn't so hot, however, since the console spews out dozens of logging lines on every view served.

Requesting a log level option when using the JavaScript API to hide logging, except for errors.

uipoet commented 11 years ago

Found --silent command line option.

Glue.set('silent', true) makes sense to me.

ngryman commented 11 years ago

:+1:

fabien commented 11 years ago

+1 - please add Glue.set('silent', true)

mixu commented 11 years ago

Added in bbfc8c3b, published on npm as version 0.2.2. Thanks for reporting this! BTW have a look at gluejs2 at https://github.com/mixu/gluejs/tree/glue2 which adds a bunch of features (and will get even more stuff).

uipoet commented 11 years ago

Thanks @mixu! I look forward to the new features ahead.