code: function(logRecord, opt_type) {
        return new Entry(
            normalizeLevel(/** @type {!Logger.Level} */(logRecord.getLevel())),
            '[' + logRecord.getLoggerName() + '] ' + logRecord.getMessage(),
            logRecord.getMillis(),
            opt_type);
      }
docs: Converts a {@link goog.debug.LogRecord} into a
  {@link webdriver.logging.Entry}.
  @param {!LogRecord} logRecord The record to convert.
  @param {string=} opt_type The log type.
  @return {!Entry} The converted entry.