Logger_LogMessage property
\brief Logs a message at the given severity level using the provided ::OrtLogger.
Only messages with a severity level equal or greater than the ::OrtLogger's logging severity level are logged. Use OrtApi::Logger_GetLoggingSeverityLevel to get the ::OrtLogger's logging severity level.
Can be used in custom operators to log messages with the logger retrieved via OrtApi::KernelInfo_GetLogger.
\paramin logger The ::OrtLogger instance.
\paramin log_severity_level The message's severity level.
\paramin message The message to log.
\paramin file_path The filepath of the file in which the message is logged. Usually the value of ORT_FILE.
\paramin line_number The file line number in which the message is logged. Usually the value of LINE.
\paramin func_name The name of the function in which the message is logged. Usually the value of FUNCTION.
\snippet{doc} snippets.dox OrtStatus Return Value \since Version 1.15
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtLogger> logger,
ffi.UnsignedInt log_severity_level,
ffi.Pointer<ffi.Char> message,
ffi.Pointer<ffi.Char> file_path,
ffi.Int line_number,
ffi.Pointer<ffi.Char> func_name,
)
>
>
Logger_LogMessage;