Merge pull request #3606 from valentinvanelslande/citrace-fmt

CiTrace: Migrate logging macros
This commit is contained in:
Weiyi Wang 2018-03-29 09:34:30 +03:00 committed by GitHub
commit 2624b21500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}