You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2022/10/22 22:45:00 UTC

[jira] [Closed] (CB-8015) improve readability of console output (LogCat)

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

jcesarmobile closed CB-8015.
----------------------------
    Resolution: Won't Do

closing since the mentioned code no longer exists

> improve readability of console output (LogCat)
> ----------------------------------------------
>
>                 Key: CB-8015
>                 URL: https://issues.apache.org/jira/browse/CB-8015
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-android
>            Reporter: Aaron Ruß
>            Priority: Minor
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Messages that are logged to the console via {{CordovaChromeClient.onConsoleMessage(ConsoleMessage)}}  always get written to the JavaScript console with DEBUG level.
> Since LogCat is capable of formatting messages according to their log-level, it would improve readability of the LogCat output considerably, if {{CordovaChromeClient.onConsoleMessage(ConsoleMessage)}} would print the message with the actual log-level of the message, i.e. {{ConsoleMessage.messageLevel()}}.
> Example solution see
> https://github.com/mmig/cordova-android/commit/506ab013ba3c72e979176ff00a894ed38052009a



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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