Hi guys. Could anyone pls. review implementation for Advanced logging feature 
for platform scripts.

*Details*:
This feature allows to user to specify logging level for platform scripts via 
-verbose and -silent switches
Since cordova-cli doesn't pass unknown flags to platform scripts, it is 
necessary to use additional '--' symbols in command line. For example
    cordova build windows -- --verbose
or 
    cordova run windows -nobuild -- --silent

Not sure about the way to pass existing -d, --silent, --verbose args from lib 
to platforms because this can potentially break some platform scripts if they 
restrict number of passing parameters (don't skip unknown params and fail in 
this case)

Feature branches:
Windows: https://github.com/msopentech/cordova-windows/compare/advanced-logging 
Android: https://github.com/MSOpenTech/cordova-android/compare/advanced-logging
WP8: https://github.com/MSOpenTech/cordova-wp8/compare/advanced-logging 

Implementing this for iOS is quite tricky because its tooling is partially 
written in pure bash - need to check if this possible at all.

Some screenshots for windows platform: 
Silent output from build: 
https://www.dropbox.com/s/5uk7fmumexvw1ux/silent.jpg?dl=0 
Normal output from build: 
https://www.dropbox.com/s/2m33llef71vh6n7/normal.jpg?dl=0 
Verbose output from build: 
https://www.dropbox.com/s/gpytjnsgxa5ordy/verbose.JPG?dl=0 

Any thoughts?

---------------
Best regards, Vladimir


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to