Skip to content

net90_EventLogHelper_SmartEventLogger_SourceResolutionBehavior

dparvin edited this page Sep 10, 2025 · 2 revisions

SmartEventLogger.SourceResolutionBehavior property

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; }

Property Value

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).

Remarks

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.

See Also

Clone this wiki locally