Skip to main content

Log(Object, String) Method

Logs an event.

Definition​

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

public void Log(
Object? source,
string messageTemplate
)

Parameters​

  Object
The object from which the event originates.
  String
The message template.

See Also​

Reference​

ParametrizedLogger Structure
Log Overload
Avalonia.Logging Namespace