Options for the LoggingBackend class.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class LoggingBackendOptions
Constructors
Name | Description |
---|---|
LoggingBackendOptions() |
Properties
Name | Description |
---|---|
ContextIdGenerationStrategy | Determines how the Id property is generated. |
ContextMaxLength | Max length of the Description property. |
IncludeActivityExecutionTime | Determines whether the execution time should be measured for custom activities. The default value is |
IncludeManualLoggingSourceLineInfo | Determines whether source line information should be included in the log output for manual logging (written using LogSource). |
IsIncludeManualLoggingSourceLineInfoSpecified | Determines whether the IncludeManualLoggingSourceLineInfo has been set. |
LogLevelIgnoredForSystemRecords | Determines whether the Level property is ignored by the current back-end for auto-generated (i.e. non-manual) logging records. Some back-ends may not support overriding the level of records. |
RootSyntheticId | Gets or sets the root of the SyntheticId property. The default is a hex-formatted random 64-bit value. |
SyntheticIdFormatter | Determines how the SyntheticId property is generated. The default value is an instance of the DefaultSyntheticIdFormatter class. |
SyntheticIdMaxLength | Gets or sets the maximal length of the SyntheticId property. |