Skip to content

net472_EventLogHelper_SmartEventLogger_CurrentLoggingLevel

dparvin edited this page Sep 10, 2025 · 3 revisions

SmartEventLogger.CurrentLoggingLevel property

Gets or sets the minimum LoggingLevel that must be met for log entries to be written.

public static LoggingLevel CurrentLoggingLevel { get; set; }

Property Value

The currently active logging level. Entries with a severity below this level will be ignored. Defaults to Normal.

Remarks

This property acts as a global filter to increase or decrease the verbosity of logging at runtime. For example, setting this to Verbose allows all entries to be logged, while Minimal ensures only warnings, errors, and critical entries are written.

See Also

Clone this wiki locally