![]() | EventLogTarget Properties |
The EventLogTarget type exposes the following members.
Name | Description | |
---|---|---|
![]() | Category |
Gets or sets the layout that renders event Category.
|
![]() | EntryType |
Optional entry type. When not set, or when not convertible to EventLogEntryType then determined by LogLevel |
![]() | EventId |
Gets or sets the layout that renders event ID.
|
![]() | IsInitialized |
Gets a value indicating whether the target has been initialized.
(Inherited from Target.) |
![]() | Layout |
Gets or sets the layout used to format log messages.
(Inherited from TargetWithLayout.) |
![]() | Log |
Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name.
|
![]() | LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from Target.) |
![]() | MachineName |
Gets or sets the name of the machine on which Event Log service is running.
|
![]() | MaxKilobytes |
Gets or sets the maximum Event log size in kilobytes.
|
![]() | MaxMessageLength |
Gets or sets the message length limit to write to the Event Log.
|
![]() | Name |
Gets or sets the name of the target.
(Inherited from Target.) |
![]() | OnOverflow |
Gets or sets the action to take if the message is larger than the MaxMessageLength option.
|
![]() | Source |
Gets or sets the value to be used as the event Source.
|
![]() | SyncRoot |
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.) |