ILoggingConfigurationContd.LogToCategoryNamed Method
Creates a Category Source in the configuration schema with the specified name.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
ILoggingConfigurationCustomCategoryStart LogToCategoryNamed(
string categoryName
)
'Declaration
Function LogToCategoryNamed (
categoryName As String
) As ILoggingConfigurationCustomCategoryStart
ILoggingConfigurationCustomCategoryStart^ LogToCategoryNamed(
String^ categoryName
)
Parameters
- categoryName
Type: System.String
The name of the Category Source.
Return Value
Type: ILoggingConfigurationCustomCategoryStart
Fluent interface that allows for this Category Source to be configured further.
See Also
ILoggingConfigurationContd Interface
ILoggingConfigurationContd Members
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace