[ 
https://issues.apache.org/jira/browse/CB-5154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802039#comment-13802039
 ] 

ASF subversion and git services commented on CB-5154:
-----------------------------------------------------

Commit aef8d8fff6b7181091c63dd4fa2bf4a636efb0a3 in branch refs/heads/dev from 
[~wjamesjong]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-console.git;h=aef8d8f ]

CB-5154 log formatting incorrectly to native

-only add format string if non-empty


> log formatting incorrectly to native
> ------------------------------------
>
>                 Key: CB-5154
>                 URL: https://issues.apache.org/jira/browse/CB-5154
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Console
>    Affects Versions: 3.1.0
>            Reporter: James Jong
>            Assignee: James Jong
>
> Plugin console logs using formatting string is incorrectly formatted when 
> sent to native.  This is on iOS but it would likely apply to any native 
> environment.
> Sample:
> console.warn('the %s jumped over the %s','cow','moon');
> console ouput:
> the cow jumped over the moon
> xcode output:
> 2013-10-22 12:09:31.920 console[15289:c07] WARN:  the %s jumped over the %s 
> cow moon



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to