Skip to main content

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

Logs an event.

Definition​

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

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

Parameters​

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

Type Parameters​

See Also​

Reference​

ParametrizedLogger Structure
Log Overload
Avalonia.Logging Namespace