PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomCustom­Log­Record­Attributes
Open sandboxFocus

CustomLogRecordAttributes Class

Attributes of the CustomLogParameterOptions class. Describes how the ICustomLogRecordBuilder will be used.

Inheritance
CustomLogRecordAttributes
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class CustomLogRecordAttributes : Enum

Fields

Name Description
None

Legacy value set by ILogger implementations. No information is provided by the caller.

value__
WriteActivityDescription

The ICustomLogRecordBuilder will be used to write the context description.

WriteActivityDescriptionAndOutcome

The ICustomLogRecordBuilder will be used to write the context description and outcome.

WriteActivityOutcome

The ICustomLogRecordBuilder will be used to write the context outcome.

WriteMessage

The ICustomLogRecordBuilder will be used to write a standalone message.