function $AdfSeleniumPerformanceLogWriter$$($domWindow$$133$$, $backupLogWriter$$11$$) {
  this.$_isPerfLogger$ = $JSCompiler_alias_NULL$$;
  this.$_logString$ = "";
  this.Init($domWindow$$133$$, $backupLogWriter$$11$$)
}
$goog$exportSymbol$$("AdfSeleniumPerformanceLogWriter", $AdfSeleniumPerformanceLogWriter$$);
$AdfObject$$.$createSubclass$($AdfSeleniumPerformanceLogWriter$$, $AdfLogWriter$$);
$AdfSeleniumPerformanceLogWriter$$.prototype.Init = function $$AdfSeleniumPerformanceLogWriter$$$$Init$($domWindow$$134$$, $backupLogWriter$$12$$) {
  $AdfAssert$$.$assertPrototype$($backupLogWriter$$12$$, $AdfLogWriter$$);
  $AdfSeleniumPerformanceLogWriter$$.$superclass$.Init.call(this, $domWindow$$134$$, $backupLogWriter$$12$$);
  this.$_backupLogWriter$ = $backupLogWriter$$12$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSeleniumPerformanceLogWriter.prototype.Init", {Init:$AdfSeleniumPerformanceLogWriter$$.prototype.Init});
$AdfSeleniumPerformanceLogWriter$$.prototype.$PublishImpl$ = function $$AdfSeleniumPerformanceLogWriter$$$$$PublishImpl$$($logRecord$$20$$) {
  if($JSCompiler_StaticMethods__isPerformanceLogger$$(this)) {
    if($logRecord$$20$$.message != $JSCompiler_alias_NULL$$) {
      var $parts$$6_time$$3$$ = $logRecord$$20$$.message.split(";", 3);
      if(3 == $parts$$6_time$$3$$.length) {
        var $msg$$14$$ = $parts$$6_time$$3$$[0], $parts$$6_time$$3$$ = parseInt($parts$$6_time$$3$$[2]);
        isNaN($parts$$6_time$$3$$) || (0 < this.$_logString$.length && (this.$_logString$ += String.fromCharCode(30)), this.$_logString$ += $msg$$14$$ + String.fromCharCode(29) + $parts$$6_time$$3$$)
      }
    }
  }else {
    this.$_backupLogWriter$.$PublishImpl$.apply(this.$_backupLogWriter$, arguments)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSeleniumPerformanceLogWriter.prototype.PublishImpl", {$PublishImpl$:$AdfSeleniumPerformanceLogWriter$$.prototype.$PublishImpl$});
$AdfSeleniumPerformanceLogWriter$$.prototype.$getLogValueAndClear$ = function $$AdfSeleniumPerformanceLogWriter$$$$$getLogValueAndClear$$() {
  var $data$$48$$ = this.$_logString$;
  this.$_logString$ = "";
  return $data$$48$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSeleniumPerformanceLogWriter.prototype.getLogValueAndClear", {$getLogValueAndClear$:$AdfSeleniumPerformanceLogWriter$$.prototype.$getLogValueAndClear$});
$AdfSeleniumPerformanceLogWriter$$.prototype.close = function $$AdfSeleniumPerformanceLogWriter$$$$close$() {
  $AdfSeleniumPerformanceLogWriter$$.$superclass$.close.apply(this, arguments);
  delete this.$_logString$;
  this.$_backupLogWriter$.close()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSeleniumPerformanceLogWriter.prototype.close", {close:$AdfSeleniumPerformanceLogWriter$$.prototype.close});
$AdfSeleniumPerformanceLogWriter$$.prototype.flush = function $$AdfSeleniumPerformanceLogWriter$$$$flush$() {
  this.$CheckIfClosed$();
  $JSCompiler_StaticMethods__isPerformanceLogger$$(this) || this.$_backupLogWriter$.flush.apply(this.$_backupLogWriter$, arguments)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSeleniumPerformanceLogWriter.prototype.flush", {flush:$AdfSeleniumPerformanceLogWriter$$.prototype.flush});
function $JSCompiler_StaticMethods__isPerformanceLogger$$($JSCompiler_StaticMethods__isPerformanceLogger$self$$) {
  if($JSCompiler_StaticMethods__isPerformanceLogger$self$$.$_isPerfLogger$ == $JSCompiler_alias_NULL$$ && ($JSCompiler_StaticMethods__isPerformanceLogger$self$$.$_isPerfLogger$ = $JSCompiler_alias_FALSE$$, "undefined" != typeof $AdfLogger$$.PROFILER_LOGGER)) {
    var $logger$$31$$ = $AdfLogger$$.$PROFILER_LOGGER$;
    $logger$$31$$ && $logger$$31$$.$getLogWriter$() == $JSCompiler_StaticMethods__isPerformanceLogger$self$$ && ($JSCompiler_StaticMethods__isPerformanceLogger$self$$.$_isPerfLogger$ = $JSCompiler_alias_TRUE$$)
  }
  return $JSCompiler_StaticMethods__isPerformanceLogger$self$$.$_isPerfLogger$
}
;