custom_logging_function property

OrtLoggingFunction custom_logging_function
getter/setter pair

\brief Optional custom logging function. May be set to NULL.

\note The OrtEnvCreationOptions::custom_logging_param is provided as the first argument to this logging function. This allows passing custom state into the logging function.

\note This function is only called when a message's severity meets or exceeds the set logging severity level.

\since Version 1.24.

Implementation

external OrtLoggingFunction custom_logging_function;