LogCategoryAttribute Class
Extends Attribute
This attributes associates a category name to a class. The category name will be used in logging.
The name of the category.
string ParentCategoryName[Get]
The name of the parent category if applicable. The provision of this value constructs a parent-child hierarchy of categories.
LogCategoryAttribute ( string categoryName )
Constructs the attribute with a category name only and no parent.
ParameterscategoryNameThe category name.
Constructs the attribute with a category name in enum form. Used internally by the VSDK.
ParameterscategoryNameThe category name.
LogCategoryAttribute ( string parentCategoryName,
string categoryName )
Constructs the attribute with both a category name and parent.
ParametersparentCategoryNameThe parent category name.
categoryNameThe category name.
An overload that uses the Enum version of the category names.
ParametersparentCategoryNameThe parent category name.
categoryNameThe category name.