getRunLogSeverityLevel method
Implementation
int getRunLogSeverityLevel() {
final levelPtr = calloc<ffi.Int>();
final statusPtr = OrtEnv
.instance.ortApiPtr.ref.RunOptionsGetRunLogSeverityLevel
.asFunction<
bg.OrtStatusPtr Function(ffi.Pointer<bg.OrtRunOptions>,
ffi.Pointer<ffi.Int>)>()(_ptr, levelPtr);
OrtStatus.checkOrtStatus(statusPtr);
final level = levelPtr.value;
calloc.free(levelPtr);
return level;
}