Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
EventLogSettings Class
Definition
- Namespace:
- Microsoft.Extensions.Logging.EventLog
- Assembly:
- Microsoft.Extensions.Logging.EventLog.dll
- Package:
- Microsoft.Extensions.Logging.EventLog v11.0.0-preview.5.26302.115
- Source:
- EventLogSettings.cs
- Source:
- EventLogSettings.cs
- Source:
- EventLogSettings.cs
- Source:
- EventLogSettings.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Settings for Microsoft.Extensions.Logging.EventLog.EventLogLogger.
public ref class EventLogSettings
public class EventLogSettings
type EventLogSettings = class
Public Class EventLogSettings
- Inheritance
-
EventLogSettings
Constructors
| Name | Description |
|---|---|
| EventLogSettings() | |
Properties
| Name | Description |
|---|---|
| Filter |
Gets or sets the function used to filter events based on the log level. |
| LogName |
Gets or sets the name of the event log. If |
| MachineName |
Gets or sets the name of the machine with the event log. If |
| SourceName |
Gets or sets the name of the event log source. If |
Applies to
Feedback
Was this page helpful?
