PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace/Custom­Log­Record­Attributes Enumeration

CustomLogRecordAttributes Enumeration

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

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.8.0 (6.5.8.0)
Syntax
C#
[FlagsAttribute]
public enum CustomLogRecordAttributes
Members
  Member nameValueDescription
None0 Legacy value set by ILogger implementations. No information is provided by the caller.
WriteActivityDescription1 The ICustomLogRecordBuilder will be used to write the context description.
WriteActivityOutcome2 The ICustomLogRecordBuilder will be used to write the context outcome.
WriteActivityDescriptionAndOutcome3 The ICustomLogRecordBuilder will be used to write the context description and outcome.
WriteMessage4 The ICustomLogRecordBuilder will be used to write a standalone message.
See Also