Open sandboxFocus
  • TOC

Post­Sharp Documentation

Introduction

Deployment and Configuration

Adding Aspects to Code

Logging

Contracts

INotify­Property­Changed

Weak Event

XAML

Parent/Child, Visitor and Disposable

Undo/Redo

Caching

Multithreading

Developing Custom Aspects

Validating Architecture

Testing and Debugging

Miscellaneous

API Reference

Post­Sharp

Post­Sharp.​Aspects

Post­Sharp.​Aspects.​Advices

Post­Sharp.​Aspects.​Configuration

Post­Sharp.​Aspects.​Dependencies

Post­Sharp.​Aspects.​Internals

Post­Sharp.​Aspects.​Serialization

Post­Sharp.​Collections

Post­Sharp.​Constraints

Post­Sharp.​Extensibility

Post­Sharp.​Extensibility.​Build­Time­Logging

Post­Sharp.​Patterns

Post­Sharp.​Patterns.​Caching

Post­Sharp.​Patterns.​Caching.​Backends

Post­Sharp.​Patterns.​Caching.​Backends.​Azure

Post­Sharp.​Patterns.​Caching.​Backends.​Redis

Post­Sharp.​Patterns.​Caching.​Dependencies

Post­Sharp.​Patterns.​Caching.​Formatters

Post­Sharp.​Patterns.​Caching.​Implementation

Post­Sharp.​Patterns.​Caching.​Locking

Post­Sharp.​Patterns.​Caching.​Serializers

Post­Sharp.​Patterns.​Caching.​Value­Adapters

Post­Sharp.​Patterns.​Collections

Post­Sharp.​Patterns.​Collections.​Advices

Post­Sharp.​Patterns.​Contracts

Post­Sharp.​Patterns.​Diagnostics

Close­Activity­Options

Context­Id­Generation­Strategy

Custom­Record­Logging­Options

Default­Logging­Exception­Handler

Formatted­Message­Builder

ILog­Activity

ILog­Aspect

ILogging­Exception­Handler

ILog­Value­Aspect

Log­Activity2

Log­Activity<TActivity­Description>

Log­Activity­Kind

Log­Activity­Options

Log­Attribute6

Log­Attribute­Base5

Log­Exception­Attribute6

Logger

Logger­Factory­Extensions

Logging­Abstract­Source

Logging­Backend

Logging­Backend­Options

Logging­Build­Time­Configuration

Logging­Configuration­Manager

Logging­Context­Local­Configuration

Logging­Context­Local­Configuration­Scope

Logging­Context­Mismatch­Exception2

Logging­Exception2

Logging­Exception­Info

Logging­Namespace­Source

Logging­Options

Logging­Options.​Serializer2

Logging­Profile

Logging­Profile.​Serializer2

Logging­Profile­Collection3

Logging­Profile­Repository

Logging­Property

Logging­Role­Configuration

Logging­Role­Configuration­Repository

Logging­Roles

Logging­Services

Logging­Services.​Formatters2

Logging­Source­Local­State

Logging­Type­Source2

Logging­Verbosity­Configuration

Log­Level

Log­Record­Kind

Log­Record­Kind­Extensions

Log­Source

Log­Value­Attribute5

Not­Logged­Attribute2

Open­Activity­Options

Semantic­Message­Builder

Throwing­Logging­Exception­Handler

Write­Message­Options

Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­Core

Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­Framework

Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Diagnostic­Source

Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Http­Client

Post­Sharp.​Patterns.​Diagnostics.​Audit

Post­Sharp.​Patterns.​Diagnostics.​Backends

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Application­Insights

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Audit

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Common­Logging

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Event­Source

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Log4Net

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Microsoft

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Multiplexer

Post­Sharp.​Patterns.​Diagnostics.​Backends.​NLog

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Null

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Serilog

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Trace

Post­Sharp.​Patterns.​Diagnostics.​Backends.​Trace­Source

Post­Sharp.​Patterns.​Diagnostics.​Contexts

Post­Sharp.​Patterns.​Diagnostics.​Correlation

Post­Sharp.​Patterns.​Diagnostics.​Custom

Post­Sharp.​Patterns.​Diagnostics.​Custom.​Messages

Post­Sharp.​Patterns.​Diagnostics.​Formatters

Post­Sharp.​Patterns.​Diagnostics.​Record­Builders

Post­Sharp.​Patterns.​Diagnostics.​Threading­Instrumentation

Post­Sharp.​Patterns.​Diagnostics.​Transactions

Post­Sharp.​Patterns.​Diagnostics.​Transactions.​Model

Post­Sharp.​Patterns.​Dynamic­Advising

Post­Sharp.​Patterns.​Formatters

Post­Sharp.​Patterns.​Model

Post­Sharp.​Patterns.​Model.​Controls

Post­Sharp.​Patterns.​Model.​Type­Adapters

Post­Sharp.​Patterns.​Recording

Post­Sharp.​Patterns.​Recording.​Operations

Post­Sharp.​Patterns.​Threading

Post­Sharp.​Patterns.​Threading.​Models

Post­Sharp.​Patterns.​Utilities

Post­Sharp.​Patterns.​Xaml

Post­Sharp.​Reflection

Post­Sharp.​Reflection.​Method­Body

Post­Sharp.​Serialization

  • Article

Class LoggingBackendOptions

Options for the LoggingBackend class.

Inheritance
LoggingBackendOptions
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 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.

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.

  • Navigation