Options for the ConsoleLoggingBackend class.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Console
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class ConsoleLoggingBackendOptions : TextLoggingBackendOptionsConstructors
| Name | Description |
|---|---|
| ConsoleLoggingBackendOptions() | Initializes a new instance of the ConsoleLoggingBackendOptions class. |
Properties
| Name | Description |
|---|---|
| IncludeLevel | Gets or sets a value indicating whether the LogLevel should be written to the console. The default value is |
| IncludeRole | Gets or sets a value indicating whether the role should be written to the console. The default value is |
| IncludeTimestamp | Gets or sets a value indicating whether the current date and time should be written to the console. The default value is |
| PreferSystemColors | Gets or sets a value indicating whether the console logger prefers system colors. When |
| Prefix | Gets or sets the arbitrary string inserted before any console output. The default value is |
| RoleWidth | Gets or sets the minimum width of the role column. The default value is |
| Theme | Gets or sets the color theme. A set of ready-made themes is exposed on the ConsoleThemes class. The default value is Classic. |
| TimestampFormat | Gets or sets the formatting string used to render a value of the DateTimeOffset type when the IncludeTimestamp property
is set to |