Log<T0, T1>(Object, String, T0, T1) Method
Logs an event.
Definition
Namespace: Avalonia.Logging
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void Log<T0, T1>(
Object? source,
string messageTemplate,
T0 propertyValue0,
T1 propertyValue1
)
Public Sub Log(Of T0, T1) (
source As Object,
messageTemplate As String,
propertyValue0 As T0,
propertyValue1 As T1
)
member Log :
source : Object *
messageTemplate : string *
propertyValue0 : 'T0 *
propertyValue1 : 'T1 -> unit
Parameters
- Object
- The object from which the event originates.
- String
- The message template.
- T0
- Message property value.
- T1
- Message property value.
Type Parameters
See Also
Reference
ParametrizedLogger Structure
Log Overload
Avalonia.Logging Namespace