[This is preliminary documentation and is subject to change.]
The FileContentsLayoutRenderer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FileContentsLayoutRenderer |
Initializes a new instance of the FileContentsLayoutRenderer class.
|
Methods
| Name | Description | |
|---|---|---|
| Append |
Renders the contents of the specified file and appends it to the specified StringBuilder.
(Overrides LayoutRenderer..::.Append(StringBuilder, LogEventInfo).) | |
| Close |
Closes the layout renderer.
(Inherited from LayoutRenderer.) | |
| Initialize |
Initializes the layout renderer.
(Inherited from LayoutRenderer.) | |
| Render |
Renders the the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.) | |
| ToString |
Returns a String that represents this instance.
(Inherited from LayoutRenderer.) |
Properties
| Name | Description | |
|---|---|---|
| Encoding |
Gets or sets the encoding used in the file.
| |
| FileName |
Gets or sets the name of the file.
|
