PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Legacy­Source­Logger Class / Legacy­Source­Logger Methods / Legacy­Source­Logger.​Write Method

LegacySourceLogger.Write Method

Writes a text message.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
protected abstract void Write(
	LogLevel level,
	LogRecordKind recordKind,
	string text,
	Exception exception
)

Parameters

level
Type: PostSharp.Patterns.Diagnostics.LogLevel
recordKind
Type: PostSharp.Patterns.Diagnostics.LogRecordKind
text
Type: System.String
The fully-rendered message.
exception
Type: System.Exception
An optional Exception.
See Also