cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (Akvelon)" <>
Subject Advanced logging feature
Date Wed, 17 Dec 2014 11:25:37 GMT
Hi guys. Could anyone pls. review implementation for Advanced logging feature for platform

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
    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:

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: 
Normal output from build: 
Verbose output from build: 

Any thoughts?

Best regards, Vladimir

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message