diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-27 00:45:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 00:45:10 +0200 |
commit | 6a3d59fdc103c1a254a8d83115957a1d4671d322 (patch) | |
tree | ad4c0c1e03d94197d8382b76e6e0d30d55cec0c6 /src/core/telemetry_session.cpp | |
parent | Merge pull request #399 from bunnei/shader-ints (diff) | |
parent | core: Replace remaining old non-generic logger usages with fmt-capable equivalents (diff) | |
download | yuzu-6a3d59fdc103c1a254a8d83115957a1d4671d322.tar yuzu-6a3d59fdc103c1a254a8d83115957a1d4671d322.tar.gz yuzu-6a3d59fdc103c1a254a8d83115957a1d4671d322.tar.bz2 yuzu-6a3d59fdc103c1a254a8d83115957a1d4671d322.tar.lz yuzu-6a3d59fdc103c1a254a8d83115957a1d4671d322.tar.xz yuzu-6a3d59fdc103c1a254a8d83115957a1d4671d322.tar.zst yuzu-6a3d59fdc103c1a254a8d83115957a1d4671d322.zip |
Diffstat (limited to 'src/core/telemetry_session.cpp')
-rw-r--r-- | src/core/telemetry_session.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp index cecf0a5cb..02c52bb55 100644 --- a/src/core/telemetry_session.cpp +++ b/src/core/telemetry_session.cpp @@ -42,14 +42,14 @@ u64 GetTelemetryId() { if (FileUtil::Exists(filename)) { FileUtil::IOFile file(filename, "rb"); if (!file.IsOpen()) { - LOG_ERROR(Core, "failed to open telemetry_id: %s", filename.c_str()); + NGLOG_ERROR(Core, "failed to open telemetry_id: {}", filename); return {}; } file.ReadBytes(&telemetry_id, sizeof(u64)); } else { FileUtil::IOFile file(filename, "wb"); if (!file.IsOpen()) { - LOG_ERROR(Core, "failed to open telemetry_id: %s", filename.c_str()); + NGLOG_ERROR(Core, "failed to open telemetry_id: {}", filename); return {}; } telemetry_id = GenerateTelemetryId(); @@ -65,7 +65,7 @@ u64 RegenerateTelemetryId() { FileUtil::IOFile file(filename, "wb"); if (!file.IsOpen()) { - LOG_ERROR(Core, "failed to open telemetry_id: %s", filename.c_str()); + NGLOG_ERROR(Core, "failed to open telemetry_id: {}", filename); return {}; } file.WriteBytes(&new_telemetry_id, sizeof(u64)); |