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

        1. Android Log Levels.png
          53 kB
          Dustin Hyde
        2. iOS Log Levels.png
          43 kB
          Dustin Hyde
        3. Studio 2.0.2 Custom iOS Log Level.png
          62 kB
          Dustin Hyde

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: