Skip to main content

Log(LogEventLevel, String, Object, String) Method

Logs an event.

Definition

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

void Log(
LogEventLevel level,
string area,
Object? source,
string messageTemplate
)
View Source

Parameters

  LogEventLevel
The log event level.
  String
The area that the event originates.
  Object
The object from which the event originates.
  String
The message template.

See Also

Reference

ILogSink Interface
Log Overload
Avalonia.Logging Namespace