-
Notifications
You must be signed in to change notification settings - Fork 0
net472_EventLogHelper_SmartEventLogger_SourceResolutionBehavior
dparvin edited this page Sep 10, 2025
·
2 revisions
Gets or sets the strategy used when resolving event sources that are registered under a different log than the one requested.
public static SourceResolutionBehavior SourceResolutionBehavior { get; set; }A SourceResolutionBehavior value that determines whether logging requires an exact source-to-log match (Strict), automatically switches to the log where the source is registered (UseSourceLog), or creates a new source under the requested log (CreateNewSource).
This setting controls how SmartEventLogger handles cases where the requested source and log are not aligned, which can occur on misconfigured systems or when reusing existing event sources.
- enum SourceResolutionBehavior
- class SmartEventLogger
- namespace EventLogHelper
- assembly EventLogHelper