Reduce onnxruntime log output. (#1306)

Change the logging level from WARNING to ERROR.
This commit is contained in:
Fangjun Kuang
2024-08-30 12:50:34 +08:00
committed by GitHub
parent 6b8877f185
commit 3687c9f60a
17 changed files with 32 additions and 32 deletions

View File

@@ -40,7 +40,7 @@ class OnlineZipformer2CtcModel::Impl {
#if __ANDROID_API__ >= 9
Impl(AAssetManager *mgr, const OnlineModelConfig &config)
: config_(config),
env_(ORT_LOGGING_LEVEL_WARNING),
env_(ORT_LOGGING_LEVEL_ERROR),
sess_opts_(GetSessionOptions(config)),
allocator_{} {
{