LogContextSetAllowedContexts Method |
Sets the list of the context names that the log context accepts. Use empty string for context which logs messages that do not provide context.
Namespace: CMS.EventLogAssembly: CMS.EventLog (in CMS.EventLog.dll) Version: 12.0.0
Syntax public void SetAllowedContexts(
params string[] contextNames
)
Parameters
- contextNames
- Type: SystemString
Context names
See Also