public class LoggingCategoryNames extends Object
Given a classname, eg org.forgerock.opendj.server.core.SomeClass, it allows to get the corresponding simplified category name if it exists, eg "CORE". If no simplified category name exist, the classname is used as a category name.
Constructor and Description |
---|
LoggingCategoryNames() |
Modifier and Type | Method and Description |
---|---|
static String |
getCategoryName(String className)
Returns the simple category name corresponding to the provided class name
or the class name if no mapping corresponds.
|
public LoggingCategoryNames()
public static String getCategoryName(String className)
className
- The classname to retrieve the category name from.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.