PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomLegacy­Source­LoggerWrite
Open sandboxFocus

LegacySourceLogger.Write Method

Write(LogLevel, LogRecordKind, String, Exception)

Writes a text message.

Declaration
protected abstract void Write(LogLevel level, LogRecordKind recordKind, string text, Exception exception)
Parameters
Type Name Description
LogLevel level
LogRecordKind recordKind
System.String text

The fully-rendered message.

Exception exception

An optional Exception.