Summary
Logs an event.
- Namespace
- Avalonia
.Logging - Containing Type
- ParametrizedLogger
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Log<T0, T1>(object source, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Attributes
Type | Description |
---|---|
MethodImplAttribute |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Parameters
Name | Type | Description |
---|---|---|
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 |