Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: iOS
    • Labels:
      None

      Activity

      Hide
      Shazron Abdullah added a comment -

      Note: this is an iOS specific function in cordova-js, and not common code.

      Show
      Shazron Abdullah added a comment - Note: this is an iOS specific function in cordova-js, and not common code.
      Hide
      Shazron Abdullah added a comment -

      This one seems to be safe, we are still passing in options.
      e.g.

      /**
       * Print a normal log message to the console
       * @param {Object|String} message Message or object to print to the console
       */
      DebugConsole.prototype.log = function(message, maxDepth) {
          if (this.logLevel <= DebugConsole.INFO_LEVEL)
              exec(null, null, 'Debug Console', 'log',
                  [ this.processMessage(message, maxDepth), { logLevel: 'INFO' } ]
              );
          else
              this.winConsole.log(message);
      };
      
      Show
      Shazron Abdullah added a comment - This one seems to be safe, we are still passing in options. e.g. /** * Print a normal log message to the console * @param { Object | String } message Message or object to print to the console */ DebugConsole.prototype.log = function(message, maxDepth) { if ( this .logLevel <= DebugConsole.INFO_LEVEL) exec( null , null , 'Debug Console', 'log', [ this .processMessage(message, maxDepth), { logLevel: 'INFO' } ] ); else this .winConsole.log(message); };

        People

        • Assignee:
          Shazron Abdullah
          Reporter:
          Shazron Abdullah
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development