[This is preliminary documentation and is subject to change.]
The TargetWithLayout type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TargetWithLayout |
Initializes a new instance of the TargetWithLayout class.
|
Methods
| Name | Description | |
|---|---|---|
| Close |
Closes the target and releases any unmanaged resources.
(Inherited from Target.) | |
| Dispose |
Closes the target.
(Inherited from Target.) | |
| Flush | Overloaded. | |
| 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.) | |
| Write | Overloaded. | |
| WriteLogEvent |
Writes the log to the target.
(Inherited from Target.) | |
| WriteLogEvents |
Writes the array of log events.
(Inherited from Target.) |
Properties
| Name | Description | |
|---|---|---|
| Layout |
Gets or sets the layout used to format log messages.
| |
| Name |
Gets or sets the name of the target.
(Inherited from Target.) |
