code: function logMessage(message)
      {
          // post the message
          var msg = WebInspector.ConsoleMessage.create(
              WebInspector.ConsoleMessage.MessageSource.Other,
              messageLevel || WebInspector.ConsoleMessage.MessageLevel.Debug,
              message);
  
          self.console.addMessage(msg);
          if (showConsole)
              WebInspector.showConsole();
      }
docs: actually log the message