Summary
Logs an event.
- Namespace
- Avalonia
.Logging - Containing Type
- ILogSink
Syntax
void Log<T0, T1>(LogEventLevel level, string area, object source, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Parameters
Name | Type | Description |
---|---|---|
level | LogEventLevel | The log event level. |
area | string | The area that the event originates. |
source | object | The object from which the event originates. |
messageTemplate | string | The message template. |
propertyValue0 | T0 | Message property value. |
propertyValue1 | T1 | Message property value. |
Return Value
Type | Description |
---|---|
void |