Menu

Checking existance of a category

2002-01-17
2002-01-17
  • Alex Tapaccos

    Alex Tapaccos - 2002-01-17

    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

     
    • Bastiaan Bakker

      Bastiaan Bakker - 2002-01-17

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.