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: 13.0.131
Syntax public void SetAllowedContexts(
params string[] contextNames
)
Parameters
- contextNames
- Type: SystemString
Context names
See Also