API reference

LogCategoryAttribute Class

Extends Attribute
This attributes associates a category name to a class. The category name will be used in logging.

Constructors

LogCategoryAttribute ( categoryName )
Constructs the attribute with a category name only and no parent.
Signature
Meta.Voice.Logging.LogCategoryAttribute.LogCategoryAttribute(string categoryName)
Parameters
categoryName: string  The category name.
LogCategoryAttribute ( categoryName )
Constructs the attribute with a category name in enum form. Used internally by the VSDK.
Signature
Meta.Voice.Logging.LogCategoryAttribute.LogCategoryAttribute(LogCategory categoryName)
Parameters
categoryName: LogCategory  The category name.
LogCategoryAttribute ( parentCategoryName , categoryName )
Constructs the attribute with both a category name and parent.
Signature
Meta.Voice.Logging.LogCategoryAttribute.LogCategoryAttribute(string parentCategoryName, string categoryName)
Parameters
parentCategoryName: string  The parent category name.
categoryName: string  The category name.
LogCategoryAttribute ( parentCategoryName , categoryName )
An overload that uses the Enum version of the category names.
Signature
Meta.Voice.Logging.LogCategoryAttribute.LogCategoryAttribute(LogCategory parentCategoryName, LogCategory categoryName)
Parameters
parentCategoryName: LogCategory  The parent category name.
categoryName: LogCategory  The category name.

Properties

CategoryName : string
[Get]
The name of the category.
Signature
string Meta.Voice.Logging.LogCategoryAttribute.CategoryName
ParentCategoryName : string
[Get]
The name of the parent category if applicable. The provision of this value constructs a parent-child hierarchy of categories.
Signature
string Meta.Voice.Logging.LogCategoryAttribute.ParentCategoryName