Skip to content

net472_EventLogHelper_SmartEventLogger_Source

dparvin edited this page Oct 2, 2025 · 2 revisions

SmartEventLogger.Source method

Returns a default event source name. If none is provided, this attempts to determine the calling method's fully qualified name as the source.

public static string Source(string eventSourceName = null)
parameter description
eventSourceName Optional. A specific source name to use. If null or empty, the calling method will be used.

Return Value

A valid event source name derived from the input or calling method.

See Also

Clone this wiki locally