Click or drag to resize

EventLogTarget Properties

The EventLogTarget type exposes the following members.

Properties
  NameDescription
Public propertyCategory
Gets or sets the layout that renders event Category.
Public propertyEntryType
Optional entry type. When not set, or when not convertible to EventLogEntryType then determined by LogLevel
Public propertyEventId
Gets or sets the layout that renders event ID.
Protected propertyIsInitialized
Gets a value indicating whether the target has been initialized.
(Inherited from Target.)
Public propertyLayout
Gets or sets the layout used to format log messages.
(Inherited from TargetWithLayout.)
Public propertyLog
Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name.
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from Target.)
Public propertyMachineName
Gets or sets the name of the machine on which Event Log service is running.
Public propertyMaxKilobytes
Gets or sets the maximum Event log size in kilobytes.
Public propertyMaxMessageLength
Gets or sets the message length limit to write to the Event Log.
Public propertyName
Gets or sets the name of the target.
(Inherited from Target.)
Public propertyOnOverflow
Gets or sets the action to take if the message is larger than the MaxMessageLength option.
Public propertySource
Gets or sets the value to be used as the event Source.
Protected propertySyncRoot
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.)
Top
See Also