ILogSink.

Log<T0, T1, T2>(LogEventLevel, string, object, string, T0, T1, T2) Method

Summary

Logs an event.
Namespace
Avalonia.Logging
Containing Type
ILogSink

Syntax

void Log<T0, T1, T2>(LogEventLevel level, string area, object source, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)

Type Parameters

Name Description
T0
T1
T2

Parameters

Name Type Description
level LogEventLevel The log event level.
area string The area that the event originates.
source object The object from which the event originates.
messageTemplate string The message template.
propertyValue0 T0 Message property value.
propertyValue1 T1 Message property value.
propertyValue2 T2 Message property value.

Return Value

Type Description
void