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.uCa[a]};m("AdfLogger.getLogger",v.fqb);v.prototype.register=function(){var a=v.uCa,b=this.getName(),d=a[b];if(this!==d){if(d){var e=d.ek();Ic.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.Hma};r.a("AdfLogger.prototype.getName",{getName:v.prototype.getName});
v.prototype.Rua=function(a){u.Xf(a);this.Dr=a};r.a("AdfLogger.prototype.setLevel",{Rua:v.prototype.Rua});v.prototype.getLevel=function(){return this.Dr};r.a("AdfLogger.prototype.getLevel",{getLevel:v.prototype.getLevel});v.prototype.ee=function(a){return a>=this.Dr};r.a("AdfLogger.prototype.isLoggable",{ee:v.prototype.ee});v.prototype.getName=function(){return this.Hma};r.a("AdfLogger.prototype.getName",{getName:v.prototype.getName});v.prototype.ek=function(){return this.QMa};
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.Dr||this.Dv(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.Dr||(this.rr._skipArgs=1,this.Dv(new Mc(a,this.rr.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.Dr||(this.rr._skipArgs=2,d=this.rr.apply(this,arguments),this.Dv(new Mc(b,d,a)))};r.a("AdfLogger.prototype.logError",{VP:v.prototype.VP});
v.prototype.fv=function(a,b){var d=v.SEVERE;d<this.Dr||(this.rr._skipArgs=1,b=this.rr.apply(this,arguments),this.Dv(new Mc(d,b,a)))};r.a("AdfLogger.prototype.logErrorAsSevere",{fv:v.prototype.fv});v.prototype.Ge=function(a,b){var d=v.WARNING;d<this.Dr||(this.rr._skipArgs=1,b=this.rr.apply(this,arguments),this.Dv(new Mc(d,b,a)))};r.a("AdfLogger.prototype.logErrorAsWarning",{Ge:v.prototype.Ge});
v.prototype.rg=function(a,b){var d=v.INFO;d<this.Dr||(this.rr._skipArgs=1,b=this.rr.apply(this,arguments),this.Dv(new Mc(d,b,a)))};r.a("AdfLogger.prototype.logErrorAsInfo",{rg:v.prototype.rg});v.prototype.$Ta=function(a,b,d){u.assert(a);d||(d=this.FINE);if(!(d<this.Dr)){var e=new Date;b+=(e.getTime()-a.getTime())/1E3+" seconds";this.Dv(new Mc(d,b,null,e))}};r.a("AdfLogger.prototype.logElapsedTime",{$Ta:v.prototype.$Ta});
v.ga=function(){this.cza(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.uCa={}};m("AdfLogger.InitClass",v.ga);
v.cza=function(a,b){u.Ja(a);var d=a.prototype;a.rGa={};for(var e=b.length,f=0;f<e;f++){var g=b[f],h=g.name,g=g.severity;a.rGa[g]=h;a[h]=g;d[h]=g;g!=Number.MAX_VALUE&&g!=Number.MIN_VALUE&&(d[h.toLowerCase()]=function(){})}};m("AdfLogger.RegisterLevels",v.cza);v.prototype.rr=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.rr;
v.prototype.Init=function(a,b,d){u.assert(a,"loggerName required");u.assert(b,"logWriter required");v.h.Init.call(this);this.QMa=b;this.Hma=a;this.Dr=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.Hma+"',level:"+this.Dr+",logWriter:"+this.QMa+"]"};r.a("AdfLogger.prototype.toDebugString",{Ga:v.prototype.Ga});v.prototype.Dv=function(a){var b=this.HF;b&&!b(a)||this.ek().ah(a)};
r.a("AdfLogger.prototype.AddLogRecord",{Dv:v.prototype.Dv});v.l=new v("global",new Ic);m("AdfLogger.LOGGER",v.l);v.l.register();