Skip to main content

Log(LogEventLevel, String, Object, String, Object[]) Method

Logs a new event.

Definition​

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

void Log(
LogEventLevel level,
string area,
Object? source,
string messageTemplate,
params Object?[] propertyValues
)
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.
  Object[]
The message property values.

See Also​

Reference​

ILogSink Interface
Log Overload
Avalonia.Logging Namespace