Skip to content

net472_EventLogHelper

dparvin edited this page Sep 10, 2025 · 6 revisions

EventLogHelper assembly

EventLogHelper namespace

public type description
class SmartEventLogger Provides high-level utilities for logging to the Windows Event Log in a simplified and customizable way.

EventLogHelper.Enums namespace

public type description
enum LoggingLevel Defines the global logging level (threshold) that controls which log entries are written to the Windows Event Log.
enum LoggingSeverity Represents the severity of an individual log entry.
class NamespaceDoc
enum SourceResolutionBehavior 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.

EventLogHelper.Interfaces namespace

public type description
interface IConfigShim Defines a contract for configuration operations, allowing for abstraction and easier testing.
interface IEventLogWriter Defines the contract for writing to and managing Windows Event Logs.
interface IFileSystemShim Defines a contract for file system operations, allowing for abstraction and easier testing.
interface IRegistryReader Provides an abstraction layer for reading from and validating access to the Windows Registry.
class NamespaceDoc This namespace contains interfaces that define contracts for event log helpers, enabling consistent logging behavior across different implementations.

Clone this wiki locally