LegacySourceLogger.Write Method |
Writes a text message.
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
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.