function D(a,b,d){this.Init(a,b,d)}v("AdfLogger",D);z.l(D);D.y3a=function(a){a||(loggername="global");return D.Uoa[a]};v("AdfLogger.getLogger",D.y3a);D.prototype.iv=function(){var a=D.Uoa,b=this.getName(),d=a[b];if(this!==d){if(d){var e=d.Wj();zc.prototype.isPrototypeOf(e)&&this.wha(e.$I());e.close()}a[b]=this}return d};z.a("AdfLogger.prototype.register",{iv:D.prototype.iv});D.prototype.getName=r("Dba");z.a("AdfLogger.prototype.getName",{getName:D.prototype.getName});
D.prototype.xia=function(a){B.df(a);this.Uo=a};z.a("AdfLogger.prototype.setLevel",{xia:D.prototype.xia});D.prototype.getLevel=r("Uo");z.a("AdfLogger.prototype.getLevel",{getLevel:D.prototype.getLevel});D.prototype.xd=function(a){return a>=this.Uo};z.a("AdfLogger.prototype.isLoggable",{xd:D.prototype.xd});D.prototype.getName=r("Dba");z.a("AdfLogger.prototype.getName",{getName:D.prototype.getName});D.prototype.Wj=r("lxa");z.a("AdfLogger.prototype.getLogWriter",{Wj:D.prototype.Wj});
D.prototype.km=function(a){B.nC(a);this.ZA=a};z.a("AdfLogger.prototype.setFilter",{km:D.prototype.km});D.prototype.iy=r("ZA");z.a("AdfLogger.prototype.getFilter",{iy:D.prototype.iy});D.prototype.log=function(a){B.assert(a);a.n4a<this.Uo||this.Es(a)};z.a("AdfLogger.prototype.log",{log:D.prototype.log});D.prototype.wha=function(a){B.assert(a);for(var b=a.length,d=0;d<b;d++)this.log(a[d])};z.a("AdfLogger.prototype.logRecords",{wha:D.prototype.wha});
D.prototype.ks=function(a,b){B.df(a);a<this.Uo||(this.Io._skipArgs=1,this.Es(new Bc(a,this.Io.apply(this,arguments))))};z.a("AdfLogger.prototype.logMessage",{ks:D.prototype.ks});D.prototype.KJ=function(a,b,d){b||(b=D.INFO);B.df(b);b<this.Uo||(this.Io._skipArgs=2,d=this.Io.apply(this,arguments),this.Es(new Bc(b,d,a)))};z.a("AdfLogger.prototype.logError",{KJ:D.prototype.KJ});
D.prototype.fv=function(a,b){var d=D.SEVERE;d<this.Uo||(this.Io._skipArgs=1,b=this.Io.apply(this,arguments),this.Es(new Bc(d,b,a)))};z.a("AdfLogger.prototype.logErrorAsSevere",{fv:D.prototype.fv});D.prototype.ee=function(a,b){var d=D.WARNING;d<this.Uo||(this.Io._skipArgs=1,b=this.Io.apply(this,arguments),this.Es(new Bc(d,b,a)))};z.a("AdfLogger.prototype.logErrorAsWarning",{ee:D.prototype.ee});
D.prototype.zf=function(a,b){var d=D.INFO;d<this.Uo||(this.Io._skipArgs=1,b=this.Io.apply(this,arguments),this.Es(new Bc(d,b,a)))};z.a("AdfLogger.prototype.logErrorAsInfo",{zf:D.prototype.zf});D.prototype.qDa=function(a,b,d){B.assert(a);d||(d=this.FINE);if(!(d<this.Uo)){var e=new Date;b+=(e.getTime()-a.getTime())/1E3+" seconds";this.Es(new Bc(d,b,n,e))}};z.a("AdfLogger.prototype.logElapsedTime",{qDa:D.prototype.qDa});
D.da=function(){this.bma(D,[{name:"OFF",severity:Number.MAX_VALUE},{name:"SEVERE",severity:1E3},{name:"WARNING",severity:900},{name:"INFO",severity:800},{name:"CONFIG",severity:700},{name:"FINE",severity:500},{name:"FINER",severity:400},{name:"FINEST",severity:300},{name:"ALL",severity:Number.MIN_VALUE}]);this.DEFAULT_LEVEL=this.WARNING;this.Uoa={}};v("AdfLogger.InitClass",D.da);
D.bma=function(a,b){B.Da(a);var d=a.prototype;a.gsa={};for(var e=b.length,f=["if (this.",n,"\x3cthis._level) return; this._calcMsg._skipArgs \x3d 0; this.logMessage(this.",n,",this._calcMsg.apply(this, arguments));"],g=0;g<e;g++){var h=b[g],m=h.name,h=h.severity;a.gsa[h]=m;a[m]=h;d[m]=h;h!=Number.MAX_VALUE&&h!=Number.MIN_VALUE&&(f[1]=m,f[3]=m,d[m.toLowerCase()]=new Function("msg",f.join("")))}};v("AdfLogger.RegisterLevels",D.bma);
D.prototype.Io=function(a){var b=arguments.callee._skipArgs,d=arguments.length,e=arguments[b];if(1==d-b&&"string"==typeof e)return e;for(e="";b<d;b++)e+=arguments[b];return e};v("AdfLogger.prototype._calcMsg",D.prototype.Io);D.prototype.Init=function(a,b,d){B.assert(a,"loggerName required");B.assert(b,"logWriter required");D.f.Init.call(this);this.lxa=b;this.Dba=a;this.Uo=d!==k?d:D.DEFAULT_LEVEL;this.ZA=n};z.a("AdfLogger.prototype.Init",{Init:D.prototype.Init});
D.prototype.ma=function(){return this.qh()+" [loggerName:'"+this.Dba+"',level:"+this.Uo+",logWriter:"+this.lxa+"]"};z.a("AdfLogger.prototype.toDebugString",{ma:D.prototype.ma});D.prototype.Es=function(a){var b=this.ZA;(!b||b(a))&&this.Wj().jg(a)};z.a("AdfLogger.prototype.AddLogRecord",{Es:D.prototype.Es});D.i=new D("global",new zc);v("AdfLogger.LOGGER",D.i);D.i.iv();