code: function(msg, level) {
      var formattedMessage,
          levelName;
  
      if (_onOutput !== null && typeof(_onOutput) === "function") {
          levelName = console.getLevelName(level);
          formattedMessage = _formatMessage(msg, levelName);
  
          _onOutput.call(null, formattedMessage, levelName);
      }
  }
docs: Invokes the "console.onOutput()" callback, if it was set by user.
  This is useful in case the user wants to write the console output to another media as well.
  
  The callback is invoked with 2 parameters:
  - formattedMessage: formatted message, ready for output
  - levelName: the name of the logging level, to inform the user
  
  @param msg The Message itself
  @param level The Message Level (Number)