[This is preliminary documentation and is subject to change.]

The TargetWithLayout type exposes the following members.

Constructors

  NameDescription
TargetWithLayout
Initializes a new instance of the TargetWithLayout class.

Methods

  NameDescription
Close
Closes the target and releases any unmanaged resources.
(Inherited from Target.)
Dispose
Closes the target.
(Inherited from Target.)
FlushOverloaded.
Initialize
Initializes the target. Can be used by inheriting classes to initialize logging.
(Inherited from Target.)
PrecalculateVolatileLayouts
Calls the Precalculate(LogEventInfo) on each volatile layout used by this target.
(Inherited from Target.)
ToString
Returns a String that represents this instance.
(Inherited from Target.)
WriteOverloaded.
WriteLogEvent
Writes the log to the target.
(Inherited from Target.)
WriteLogEvents
Writes the array of log events.
(Inherited from Target.)

Properties

  NameDescription
Layout
Gets or sets the layout used to format log messages.
Name
Gets or sets the name of the target.
(Inherited from Target.)

See Also