Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-1991

Titanium Studio: Console View: iOS Custom Info Log Level does not display

    Details

    • Story Points:
      8

      Description

      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:

      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');
      

      Actual Result:

      Custom log does not display.

      Expected Result:

      Custom log should display as [INFO] [CUSTOM] CUSTOM

      Note: The Android log levels display correctly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgibly Shalom Gibly
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: