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

LoggingBackendOptions Properties

The LoggingBackendOptions type exposes the following members.

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