code: function formatException (ex) {
          var stack   = (ex.stack) ? String(ex.stack) : '',
              message = ex.message || '';
          return 'Error: ' + message + '\nStack: ' + stack;
      }
docs: Formats an exception for better output
  
  @param {Object} ex exception object
  @memberOf log
  @return {String} formatted exception