function v(a,b,d){this.Init(a,b,d)}m("AdfLogger",v);r.v(v);v.fqb=function(a){a||(loggername="global");return v.qCa[a]};m("AdfLogger.getLogger",v.fqb);v.prototype.register=function(){var a=v.qCa,b=this.getName(),d=a[b];if(this!==d){if(d){var e=d.ek();Gc.prototype.isPrototypeOf(e)&&this.Qy(e.HH());e.close()}a[b]=this}return d};r.a("AdfLogger.prototype.register",{register:v.prototype.register});v.prototype.getName=function(){return this.Ema};r.a("AdfLogger.prototype.getName",{getName:v.prototype.getName});
v.prototype.Nua=function(a){u.Xf(a);this.Cr=a};r.a("AdfLogger.prototype.setLevel",{Nua:v.prototype.Nua});v.prototype.getLevel=function(){return this.Cr};r.a("AdfLogger.prototype.getLevel",{getLevel:v.prototype.getLevel});v.prototype.ee=function(a){return a>=this.Cr};r.a("AdfLogger.prototype.isLoggable",{ee:v.prototype.ee});v.prototype.getName=function(){return this.Ema};r.a("AdfLogger.prototype.getName",{getName:v.prototype.getName});v.prototype.ek=function(){return this.LMa};
r.a("AdfLogger.prototype.getLogWriter",{ek:v.prototype.ek});v.prototype.setFilter=function(a){u.kH(a);this.HF=a};r.a("AdfLogger.prototype.setFilter",{setFilter:v.prototype.setFilter});v.prototype.getFilter=function(){return this.HF};r.a("AdfLogger.prototype.getFilter",{getFilter:v.prototype.getFilter});v.prototype.log=function(a){u.assert(a);a.level<this.Cr||this.Cv(a)};r.a("AdfLogger.prototype.log",{log:v.prototype.log});v.prototype.Qy=function(a){u.assert(a);for(var b=a.length,d=0;d<b;d++)this.log(a[d])};
r.a("AdfLogger.prototype.logRecords",{Qy:v.prototype.Qy});v.prototype.hq=function(a,b){u.Xf(a);a<this.Cr||(this.qr._skipArgs=1,this.Cv(new Jc(a,this.qr.apply(this,arguments))))};r.a("AdfLogger.prototype.logMessage",{hq:v.prototype.hq});v.prototype.VP=function(a,b,d){b||(b=v.INFO);u.Xf(b);b<this.Cr||(this.qr._skipArgs=2,d=this.qr.apply(this,arguments),this.Cv(new Jc(b,d,a)))};r.a("AdfLogger.prototype.logError",{VP:v.prototype.VP});
v.prototype.dv=function(a,b){var d=v.SEVERE;d<this.Cr||(this.qr._skipArgs=1,b=this.qr.apply(this,arguments),this.Cv(new Jc(d,b,a)))};r.a("AdfLogger.prototype.logErrorAsSevere",{dv:v.prototype.dv});v.prototype.Ge=function(a,b){var d=v.WARNING;d<this.Cr||(this.qr._skipArgs=1,b=this.qr.apply(this,arguments),this.Cv(new Jc(d,b,a)))};r.a("AdfLogger.prototype.logErrorAsWarning",{Ge:v.prototype.Ge});
v.prototype.rg=function(a,b){var d=v.INFO;d<this.Cr||(this.qr._skipArgs=1,b=this.qr.apply(this,arguments),this.Cv(new Jc(d,b,a)))};r.a("AdfLogger.prototype.logErrorAsInfo",{rg:v.prototype.rg});v.prototype.WTa=function(a,b,d){u.assert(a);d||(d=this.FINE);if(!(d<this.Cr)){var e=new Date;b+=(e.getTime()-a.getTime())/1E3+" seconds";this.Cv(new Jc(d,b,null,e))}};r.a("AdfLogger.prototype.logElapsedTime",{WTa:v.prototype.WTa});
v.ga=function(){this.Zya(v,[{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.qCa={}};m("AdfLogger.InitClass",v.ga);
v.Zya=function(a,b){u.Ja(a);var d=a.prototype;a.nGa={};for(var e=b.length,f=0;f<e;f++){var g=b[f],h=g.name,g=g.severity;a.nGa[g]=h;a[h]=g;d[h]=g;g!=Number.MAX_VALUE&&g!=Number.MIN_VALUE&&(d[h.toLowerCase()]=function(){})}};m("AdfLogger.RegisterLevels",v.Zya);v.prototype.qr=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.prototype._calcMsg=v.prototype.qr;
v.prototype.Init=function(a,b,d){u.assert(a,"loggerName required");u.assert(b,"logWriter required");v.h.Init.call(this);this.LMa=b;this.Ema=a;this.Cr=void 0!==d?d:v.DEFAULT_LEVEL;this.HF=null};r.a("AdfLogger.prototype.Init",{Init:v.prototype.Init});v.prototype.Ga=function(){return this.getTypeName()+" [loggerName:'"+this.Ema+"',level:"+this.Cr+",logWriter:"+this.LMa+"]"};r.a("AdfLogger.prototype.toDebugString",{Ga:v.prototype.Ga});v.prototype.Cv=function(a){var b=this.HF;b&&!b(a)||this.ek().$g(a)};
r.a("AdfLogger.prototype.AddLogRecord",{Cv:v.prototype.Cv});v.l=new v("global",new Gc);m("AdfLogger.LOGGER",v.l);v.l.register();