code: function (level, message) {
              if (message && level > 0 && level <= loggingLevel) {
                  if (level === Logger.LEVEL_SEVERE) {
                      console.error(message);
                  } else if (level === Logger.LEVEL_WARNING) {
                      console.warn(message);
                  } else if (level === Logger.LEVEL_INFO) {
                      console.info(message);
                  } else {
                      console.log(message);
                  }
              }
          }
docs: Logs a specified message at a specified level.
  @param {Number} level The logging level of the message. If the current logging level allows this message to be
  logged it is written to the console.
  @param {String} message The message to log. Nothing is logged if the message is null or undefined.