function de(a,b){u.assert(window.console&&window.console.log,"Console not installed");this.Init(a,b)}m("AdfIEConsoleLogWriter",de);r.v(de,qa);de.prototype.Init=function(a,b){de.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:de.prototype.Init});
de.prototype.md=function(a){this.ug();u.assert(a,"null logRecord");var b=this.BF,d=a[Mc.Qv];if(d&&b)b.ah(a);else{var b=window.console,e=a[Mc.lt],e=e>=v.SEVERE?this.Eub:e>=v.WARNING?this.cy:e>=v.INFO?this.Mub:this.wub,f=a[Mc.rw];a=a[Mc.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:de.prototype.md});de.prototype.flush=function(){de.h.flush.call(this);var a=this.BF;a&&a.flush()};
r.a("AdfIEConsoleLogWriter.prototype.flush",{flush:de.prototype.flush});de.prototype.close=function(){de.h.close.call(this);var a=this.BF;a&&a.close()};r.a("AdfIEConsoleLogWriter.prototype.close",{close:de.prototype.close});