function logAtLevel(level, message) {
  debugConsole.addLogRecord(new LogRecord(level, message, loggerName1));
}
Adds a log record to the debug console.
@param {!Level} level The level at which to log.
@param {string} message The message to log.