Skip to content

net472_EventLogHelper_SmartEventLogger_LoggingSeverity

dparvin edited this page Sep 10, 2025 · 3 revisions

SmartEventLogger.LoggingSeverity property

Gets or sets the default LoggingSeverity applied to log entries when no explicit severity is specified.

public static LoggingSeverity LoggingSeverity { get; set; }

Property Value

The default severity level for new log entries. Defaults to Info.

Remarks

This property determines the baseline importance assigned to entries that do not specify a severity. For example, a call such as SmartEventLogger.Log("Started service.") will use this value. Combined with CurrentLoggingLevel, it controls whether the entry is written or ignored.

See Also

Clone this wiki locally