function be(a,b){u.assert(window.console&&window.console.log,"Console not installed");this.Init(a,b)}m("AdfIEConsoleLogWriter",be);r.v(be,qa);be.prototype.Init=function(a,b){be.h.Init.call(this,a,b);this.BF=b;var d=window.console,e=d.log,f=["error","warn","info","debug"];for(i=0;4>i;i++){var g=f[i];d[g]&&(e=g);this["_"+g]=e}};r.a("AdfIEConsoleLogWriter.prototype.Init",{Init:be.prototype.Init});
be.prototype.md=function(a){this.ug();u.assert(a,"null logRecord");var b=this.BF,d=a[Jc.Pv];if(d&&b)b.$g(a);else{var b=window.console,e=a[Jc.kt],e=e>=v.SEVERE?this.Dub:e>=v.WARNING?this.by:e>=v.INFO?this.Lub:this.wub,f=a[Jc.qw];a=a[Jc.dn];if(d)b[e]("Message:%s\nError:%o\nWhen:%o",f,d,a);else b[e]("Message:%s\nWhen:%o",f,a)}};r.a("AdfIEConsoleLogWriter.prototype.PublishImpl",{md:be.prototype.md});be.prototype.flush=function(){be.h.flush.call(this);var a=this.BF;a&&a.flush()};
r.a("AdfIEConsoleLogWriter.prototype.flush",{flush:be.prototype.flush});be.prototype.close=function(){be.h.close.call(this);var a=this.BF;a&&a.close()};r.a("AdfIEConsoleLogWriter.prototype.close",{close:be.prototype.close});