[TIMOB-6299] iOS: Ti.API.log does not log to console in the iOS simulator when passed a previously undefined error type as the first argument
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-04-18T16:42:12.000+0000 |
Affected Version/s | Release 1.7.2, Release 1.7.5, Release 1.8.0.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | parity, tbs-1.9.0 |
Reporter | Dustin Hyde |
Assignee | Marshall Culpepper |
Created | 2011-11-23T15:20:40.000+0000 |
Updated | 2014-06-19T12:44:43.000+0000 |
Description
When Ti.API.log is called with two arguments (the first being a previously undefined custom error type, as opposed to: warn, error, etc.) using any iOS simulator results in no log output being printed to the console.
Steps to Reproduce:
1. Run this line in a new app:
Ti.API.log("CUSTOM", "Log Message");
Expected Result:
[CUSTOM] Log Message < should print to the console.
Actual Result:
Nothing from the log function prints to the console.
Note:
Custom error messages using this function call work in all iOS devices.
Ti.API.log takes a defined set of values, it's not freeform.
Ti.API.log takes custom values on Android.
Ti.API.log takes custom values on iOS devices.
This is a valid bug. If this behavior is supported on devices but not simulator there is an issue.
Closing as Cannot Reproduce. I've tested this in the current environment and the original environment and cannot reproduce. There may have been a conflicting setting with the studio console filters (i.e., they were set to filter out info level logs) during the logging of this bug. SDK: 1.7.5, 1.8.0.1, 1.8.2, 2.0.0.GA, 2.0.1.GA2, 2.0.2.v20120418121806 Studio: 2.0.2.201204171552, 2.0.1, 2.0.0, 1.0.9, 1.0.7 OS: Snow Leopard Devices Tested: iPhone Simulator 5.0