Enum anira::LogLevel#
-
enum class anira::LogLevel#
Minimum severity of log messages that are emitted.
One level for the whole inference stack: it gates anira’s own LOG_DEBUG / LOG_INFO / LOG_WARNING / LOG_ERROR output and is forwarded to the logging facilities of the enabled backends (ONNX Runtime environment severity, LiteRT environment min-logger severity, LibTorch/c10 log level). A message is emitted when its severity is at or above the configured level.
Note
The TFLite backend is exempt: the prebuilt TFLite C library does not export any runtime logging control, so its (rare) log lines are unaffected.
Note
The level is process-global, like the inference thread pool. When the ContextConfigs in a process disagree, the lowest (most verbose) requested level wins — no session can silence the diagnostics another session asked for — and the mismatch is reported with a warning.
Note
Debug enables the backends’ verbose/debug output; anira itself logs at Info severity and above.
Values:
-
enumerator Debug#
-
enumerator Info#
-
enumerator Warning#
-
enumerator Error#
-
enumerator Debug#