Skip to main content

Log<T0, T1, T2>(Object, String, T0, T1, T2) Method

Logs an event.

Definition

Namespace: Avalonia.Logging
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void Log<T0, T1, T2>(
Object? source,
string messageTemplate,
T0 propertyValue0,
T1 propertyValue1,
T2 propertyValue2
)

Parameters

  Object
The object from which the event originates.
  String
The message template.
  T0
Message property value.
  T1
Message property value.
  T2
Message property value.

Type Parameters

See Also

Reference

ParametrizedLogger Structure
Log Overload
Avalonia.Logging Namespace