function Gd(a,b){B.assert(window.console&&window.console.log,"Console not installed");this.Init(a,b)}v("AdfIEConsoleLogWriter",Gd);z.l(Gd,sa);Gd.prototype.Init=function(a,b){Gd.f.Init.call(this,a,b);this.UA=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}};z.a("AdfIEConsoleLogWriter.prototype.Init",{Init:Gd.prototype.Init});
Gd.prototype.Yc=function(a){this.ng();B.assert(a,"null logRecord");var b=this.UA,d=a[Bc.Mv];if(d&&b)b.jg(a);else{var b=window.console,e=a[Bc.ht],e=e>=D.SEVERE?this.q8a:e>=D.WARNING?this.uu:e>=D.INFO?this.B8a:this.l8a,f=a[Bc.$v];a=a[Bc.mw];if(d)b[e]("Message:%s\nError:%o\nWhen:%o",f,d,a);else b[e]("Message:%s\nWhen:%o",f,a)}};z.a("AdfIEConsoleLogWriter.prototype.PublishImpl",{Yc:Gd.prototype.Yc});Gd.prototype.flush=function(){Gd.f.flush.call(this);var a=this.UA;a&&a.flush()};
z.a("AdfIEConsoleLogWriter.prototype.flush",{flush:Gd.prototype.flush});Gd.prototype.close=function(){Gd.f.close.call(this);var a=this.UA;a&&a.close()};z.a("AdfIEConsoleLogWriter.prototype.close",{close:Gd.prototype.close});