Skip to content

Double logging with tns run ios #727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jasssonpet opened this issue Jul 31, 2015 · 1 comment
Closed

Double logging with tns run ios #727

jasssonpet opened this issue Jul 31, 2015 · 1 comment
Labels
Milestone

Comments

@jasssonpet
Copy link
Contributor

Add console.log('clicked: ' + this.counter); in the HelloWorldModel.tapAction in the hello-world template.

tns run ios
...
/app/main-view-model.js:24:20: CONSOLE LOG clicked: 41
Jul 31 08:07:00 TNS-iOS-5S TestApp[2914] <Notice>: /app/main-view-model.js:24:20: CONSOLE LOG clicked: 41
/app/main-view-model.js:24:20: CONSOLE LOG clicked: 40
Jul 31 08:07:01 TNS-iOS-5S TestApp[2914] <Notice>: /app/main-view-model.js:24:20: CONSOLE LOG clicked: 40
/app/main-view-model.js:24:20: CONSOLE LOG clicked: 39
Jul 31 08:07:01 TNS-iOS-5S TestApp[2914] <Notice>: /app/main-view-model.js:24:20: CONSOLE LOG clicked: 39

Each console.log output is printed twice - one from GDB stdout and one from the system log.

NativeScript CLI: 1.2.1 1.4.3
Xcode: 6.3 7.1.1
OSX: 10.10
Node: 0.12.7

@vchimev
Copy link

vchimev commented Nov 26, 2015

No more relevant - tested with 1.5.0.

Output:

CONSOLE LOG file:///app/main-view-model.js:17:20: clicked: 41
CONSOLE LOG file:///app/main-view-model.js:17:20: clicked: 40
CONSOLE LOG file:///app/main-view-model.js:17:20: clicked: 39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants