Project: appceleratorstudio
Issue TISTUD-1991: Titanium Studio: Console View: iOS Custom Info Log Level does not display
Ti.API.log() calls with custom log levels no longer display in the studio console. For example: Ti.API.log('CUSTOM', 'CUSTOM'); This is a regression introduced in Studio 2.1.0. This did not affect Studio 2.0.2. Steps to Reproduce: 1. Run code in iOS Simulator: {code} alert('SESSION ID: ' + Ti.App.sessionId); Ti.API.error('SESSION ID: ' + Ti.App.sessionId); Ti.API.trace('1A. TRACE'); Ti.API.log('TRACE', '1B. TRACE'); Ti.API.debug('2A. DEBUG'); Ti.API.log('DEBUG', '2B. DEBUG'); Ti.API.info('3A. INFO'); Ti.API.log('INFO', '3B. INFO'); Ti.API.warn('4A. WARN'); Ti.API.log('WARN', '4B. WARN'); Ti.API.error('5A. ERROR'); Ti.API.log('ERROR', '5B. ERROR'); Ti.API.log('CUSTOM', 'CUSTOM'); {code} Actual Result: Custom log does not display. Expected Result: Custom log should display as [INFO] [CUSTOM] CUSTOM Note: The Android log levels display correctly.
Story points: 8