PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom.​Messages Namespace/IMessage Interface

IMessage Interface

Represents a message that can be used with the LogSource class. To create a message instance, you would typically use the SemanticMessageBuilder or FormattedMessageBuilder class.

Namespace:  PostSharp.Patterns.Diagnostics.Custom.Messages
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.8.0 (6.5.8.0)
Syntax
C#
public interface IMessage

The IMessage type exposes the following members.

Methods
  NameDescription
Public methodWrite
Renders the current message into a given ICustomLogRecordBuilder.
See Also