API reference
API reference
Select your platform
No SDKs available
No versions available

LogCategoryAttribute Class

This attributes associates a category name to a class. The category name will be used in logging.
Meta::Voice::Logging::LogCategoryAttribute extends Attribute.

Overview

Properties

string
The name of the category.
string
The name of the parent category if applicable. The provision of this value constructs a parent-child hierarchy of categories.

Public Member Functions

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

Details

Properties

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

Member Functions

Meta.Voice.Logging.LogCategoryAttribute.LogCategoryAttribute
( string categoryName )
Constructs the attribute with a category name only and no parent.
Parameters
categoryName
The category name.
Meta.Voice.Logging.LogCategoryAttribute.LogCategoryAttribute
( LogCategory categoryName )
Constructs the attribute with a category name in enum form. Used internally by the VSDK.
Parameters
categoryName
The category name.
Meta.Voice.Logging.LogCategoryAttribute.LogCategoryAttribute
( string parentCategoryName,
string categoryName )
Constructs the attribute with both a category name and parent.
Parameters
parentCategoryName
The parent category name.
categoryName
The category name.
Meta.Voice.Logging.LogCategoryAttribute.LogCategoryAttribute
( LogCategory parentCategoryName,
LogCategory categoryName )
An overload that uses the Enum version of the category names.
Parameters
parentCategoryName
The parent category name.
categoryName
The category name.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon