TextLoggingBackendOptions Properties |
The TextLoggingBackendOptions type exposes the following members.

Name | Description | |
---|---|---|
![]() | ActionMaxLength |
Max length of a log record. The default value is 2048.
|
![]() | AppendTrailingPeriod |
Determines whether log messages should be ended with a trailing period. The default value is true
because we really like trailing periods at PostSharp, but other opinions are valid.
|
![]() | ContextMaxLength |
Max length of the Description property.
(Inherited from LoggingBackendOptions.) |
![]() | Delimiter |
String used to separate different parts of the logging record. The default value is a pipe surrounded by spaces ( | ).
|
![]() | IncludeExceptionDetails |
Determines whether exception details (basically Exception.ToString) should be appended to the log.
The default value is false.
|
![]() | IncludeNamespace |
Determines whether the full namespace of types should be included in the log. The default value is false.
|
![]() | IncludeType |
Determines whether the name of the type of the logged method should be included in the log. The default value is true.
|
![]() | IndentSpaces |
Number of spaces for each indentation level. The default value is 2.
|
![]() | LogLevelIgnoredForSystemRecords | (Inherited from LoggingBackendOptions.) |
![]() | ShouldLogExceptionPredicate |
Gets or sets a predicate that determines whether an exception should be logged. This predicate is evaluated only
when the method entry is not logged. When the method entry is logged, exceptions are always logged.
|
