diff --git a/src/core/tracer/recorder.cpp b/src/core/tracer/recorder.cpp index f3b0d6a8fa..2f848c9940 100644 --- a/src/core/tracer/recorder.cpp +++ b/src/core/tracer/recorder.cpp @@ -159,7 +159,7 @@ void Recorder::Finish(const std::string& filename) { throw "Failed to write stream element"; } } catch (const char* str) { - LOG_ERROR(HW_GPU, "Writing CiTrace file failed: %s", str); + NGLOG_ERROR(HW_GPU, "Writing CiTrace file failed: {}", str); } }