cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-8198) Unified console output logic for core platforms
Date Mon, 22 Dec 2014 11:10:14 GMT

     [ https://issues.apache.org/jira/browse/CB-8198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Kotikov updated CB-8198:
---------------------------------
    Description: 
Currently all major platform scripts doesn't recognize trace levels and always logging all
their output to console.
This could be unuseful, especially when a huge output from build tools is put to console (ant
build/xcodebuild output is really huge and in most cases is unnecessary)

I propose to unify the way we write messages to console output:

1. Pass verbosity arguments (-d, --debug ) downstream to platform scripts.
2. Introduce special Log class which is shared across platform scripts
    * automatically detects trace level according to command line arguments;
    * support of output redirection (file, other) in the future?

3. Add support for the following verbosity levels: Error, Normal, Debug
    by default: Error and Normal messages are traced
    -silent: only Error messages are traced
    -verbose: everything is traced

  was:
Currently all major platform scripts doesn't recognize trace levels and always logging all
their output to console.
This could be unuseful, especially when a huge output from build tools is put to console (ant
build/xcodebuild output is really huge and in most cases is unnecessary)

I propose to unify the way we write messages to console output:

1. Pass verbosity arguments (-d, --debug ) downstream to platform scripts.
2. Introduce special Log class which is shared across platform scripts
    * automatically detects trace level according to command line arguments;
    * support of output redirection (file, other) in the future?
3. Add support for the following verbosity levels: Error, Normal, Debug
    by default: Error and Normal messages are traced
    -silent: only Error messages are traced
    -verbose: everything is traced


> Unified console output logic for core platforms
> -----------------------------------------------
>
>                 Key: CB-8198
>                 URL: https://issues.apache.org/jira/browse/CB-8198
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android, iOS, Windows, WP8
>            Reporter: Vladimir Kotikov
>            Assignee: Jesse MacFadyen
>
> Currently all major platform scripts doesn't recognize trace levels and always logging
all their output to console.
> This could be unuseful, especially when a huge output from build tools is put to console
(ant build/xcodebuild output is really huge and in most cases is unnecessary)
> I propose to unify the way we write messages to console output:
> 1. Pass verbosity arguments (-d, --debug ) downstream to platform scripts.
> 2. Introduce special Log class which is shared across platform scripts
>     * automatically detects trace level according to command line arguments;
>     * support of output redirection (file, other) in the future?
> 3. Add support for the following verbosity levels: Error, Normal, Debug
>     by default: Error and Normal messages are traced
>     -silent: only Error messages are traced
>     -verbose: everything is traced



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message