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