CreateEnvWithCustomLogger property
\brief Create an OrtEnv
\note Invoking this function will return the same instance of the environment as that returned by a previous call
to another env creation function; all arguments to this function will be ignored. If you want to provide your
own logging function, consider setting it using the SetUserLoggingFunction API instead.
\paramin logging_function A pointer to a logging function.
\paramin logger_param A pointer to arbitrary data passed as the ::OrtLoggingFunction param parameter to
logging_function. This parameter is optional.
\paramin log_severity_level The log severity level.
\paramin logid The log identifier.
\paramout out Returned newly created OrtEnv. Must be freed with OrtApi::ReleaseEnv
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
OrtLoggingFunction logging_function,
ffi.Pointer<ffi.Void> logger_param,
ffi.UnsignedInt log_severity_level,
ffi.Pointer<ffi.Char> logid,
ffi.Pointer<ffi.Pointer<OrtEnv>> out,
)
>
>
CreateEnvWithCustomLogger;