Log4j has the method "exists" to check if a category has already been created. I have done a search for the method but couldn't find it. Does this method exist under a different name?
Thanks Alex
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No it does not exist yet (in 0.2.6b). As an awkward workaround you can use getCurrentCategories() and search for the Category you're interested in.
But if you checkout CVS HEAD you'll find a shiny new Category::exists() method.
Bastiaan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Log4j has the method "exists" to check if a category has already been created. I have done a search for the method but couldn't find it. Does this method exist under a different name?
Thanks Alex
No it does not exist yet (in 0.2.6b). As an awkward workaround you can use getCurrentCategories() and search for the Category you're interested in.
But if you checkout CVS HEAD you'll find a shiny new Category::exists() method.
Bastiaan