PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Custom.​MessagesIMessage
Open sandboxFocus

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.dll
Syntax
public interface IMessage

Methods

Name Description
Write(ICustomLogRecordBuilder, CustomLogRecordItem)

Renders the current message into a given ICustomLogRecordBuilder.