The root category names itself as "root". However, the root category cannot be retrieved by name. super("root"); setLevel(level);
super("root"); setLevel(level);
Return the assigned level value without walking the category hierarchy. return level;
return level;
Setting a null value to the level of the root category may have catastrophic results. We prevent this here.since0.8.3 if(level == null) { LogLog.error("You have tried to set a null level to root.", new Throwable()); } else { this.level = level; }
if(level == null) { LogLog.error("You have tried to set a null level to root.", new Throwable()); } else { this.level = level; }
setLevel(level);