|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.loggers.LogCategory
public class LogCategory
The category class defines a set of standard logging types that can be used to control logging output.
Constructor Summary | |
---|---|
protected |
LogCategory(java.lang.String name)
Create a named type. |
Method Summary | |
---|---|
java.lang.String |
getName()
Return the non-localized string name of the Level. |
static LogCategory |
parse(java.lang.String name)
Parse a category name string into a LogCategory. |
java.lang.String |
toString()
Retrieves the string reprentation of this log category. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected LogCategory(java.lang.String name)
Note that this constructor is "protected" to allow subclassing.
name
- the name of the category, for example "MESSAGE".Method Detail |
---|
public java.lang.String getName()
public final java.lang.String toString()
toString
in class java.lang.Object
public static LogCategory parse(java.lang.String name) throws java.lang.IllegalArgumentException
For example:
name
- string to be parsed
java.lang.IllegalArgumentException
- if the value is not valid.
Known names are the categories defined by this class or created
by this class with appropriate package access, or new levels defined
or created by subclasses.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |