You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dparvin edited this page Sep 10, 2025
·
1 revision
SourceResolutionBehavior enumeration
Specifies how to resolve situations where an event source is already registered to a different log than the one requested. This determines whether logging should fail, adapt, or create a new source.
publicenum SourceResolutionBehavior
Values
name
value
description
Strict
0
Require an exact match. If the source is registered under a different log than the one requested, logging fails with an error.
UseSourceLog
1
If the source is registered under a different log than requested, automatically switch to that log and proceed with logging.
UseLogsDefaultSource
2
If the source is not registered to the specified log, use the log's default source (the log name itself if available, otherwise the first registered source).