Delegate DOrtLoggingFunction
Delegate for logging function callback. Supply your function and register it with the environment to receive logging callbacks via EnvironmentCreationOptions
Namespace: Microsoft.ML.OnnxRuntime
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public delegate void DOrtLoggingFunction(IntPtr param, OrtLoggingLevel severity, string category, string logId, string codeLocation, string message);
Parameters
Type | Name | Description |
---|---|---|
IntPtr | param | Pointer to data passed into Constructor |
OrtLoggingLevel | severity | Log severity level. |
System.String | category | Log category |
System.String | logId | Log Id. |
System.String | codeLocation | Code location detail. |
System.String | message | Log message. |