PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Backend­Options Class

LoggingBackendOptions Class

Options for the LoggingBackend class.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.LoggingBackendOptions
    PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackendOptions

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public class LoggingBackendOptions

The LoggingBackendOptions type exposes the following members.

Constructors
  NameDescription
Public methodLoggingBackendOptions
Initializes a new instance of the LoggingBackendOptions class
Properties
  NameDescription
Public propertyContextIdGenerationStrategy
Determines how the Id property is generated.
Public propertyContextMaxLength
Max length of the Description property.
Public propertyIncludeActivityExecutionTime
Determines whether the execution time should be measured for custom activities. The default value is false. This property does not affect the measurement of execution time of methods, which is only influenced by the IncludeExecutionTime property of the build-time logging profile.
Public propertyIncludeManualLoggingSourceLineInfo
Determines whether source line information should be included in the log output for manual logging (written using LogSource).
Public propertyIsIncludeManualLoggingSourceLineInfoSpecified
Determines whether the IncludeManualLoggingSourceLineInfo has been set.
Public propertyLogLevelIgnoredForSystemRecords
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.
Public propertyRootSyntheticId
Gets or sets the root of the SyntheticId property. The default is a hex-formatted random 64-bit value.
Public propertySyntheticIdFormatter
Determines how the SyntheticId property is generated. The default value is an instance of the DefaultSyntheticIdFormatter class.
Public propertySyntheticIdMaxLength
Gets or sets the maximal length of the SyntheticId property.
See Also