[
https://issues.apache.org/jira/browse/CB-12168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16034809#comment-16034809
]
ASF GitHub Bot commented on CB-12168:
-------------------------------------
GitHub user sruthakeerthikotla opened a pull request:
https://github.com/apache/cordova-plugin-console/pull/22
Fix for : https://issues.apache.org/jira/browse/CB-12168
CB-12168: (ios) Fix to update to ios's new logging function.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sruthakeerthikotla/cordova-plugin-console
master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-console/pull/22.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22
----
commit a24fa611cf8b0d9929695726ede12605fd5ee218
Author: sruthakeerthikotla <[email protected]>
Date: 2017-06-02T14:51:14Z
CB-12168(ios):"Fix to upgrade to ios 10+ logging"
----
> NSLog behavior changed in iOS10
> -------------------------------
>
> Key: CB-12168
> URL: https://issues.apache.org/jira/browse/CB-12168
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-console
> Reporter: Mathias Latournerie
>
> Hello,
> Since iOS10, NSLog changed in two ways :
> - It now truncates its output to 1024 characters
> - It isn't logged anymore for deployed apps
> iOS10 introduced a new logger : os_log
> This plugin should reflect on this change and use os_log when available.
> Currently, you can't read console.log on iOS10 if you do not run your project
> directly from xcode in debug mode.
> See this link for more informations : http://stackoverflow.com/a/40451002
> Regards.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]