diff options
| author | Stefan Boberg <[email protected]> | 2021-09-15 19:49:20 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-15 19:49:20 +0200 |
| commit | 83ccd52321a23c8f1c8a3228cbbf34b8f199a22b (patch) | |
| tree | 9cf1fb68651f616aef2fa28000e4f328ef9204d8 /zenserver/vfs.cpp | |
| parent | Added GetSize/GetData functions to reduce cognitive load and bridge the gap b... (diff) | |
| parent | Tweaked logging to streamline access, and simplified setup code for new loggers (diff) | |
| download | zen-83ccd52321a23c8f1c8a3228cbbf34b8f199a22b.tar.xz zen-83ccd52321a23c8f1c8a3228cbbf34b8f199a22b.zip | |
Merge branch 'main' into cbpackage-update
Diffstat (limited to 'zenserver/vfs.cpp')
| -rw-r--r-- | zenserver/vfs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zenserver/vfs.cpp b/zenserver/vfs.cpp index 18d8f1842..86e265b20 100644 --- a/zenserver/vfs.cpp +++ b/zenserver/vfs.cpp @@ -8,13 +8,13 @@ # include <zencore/snapshot_manifest.h> # include <zencore/stream.h> # include <zencore/windows.h> +# include <zencore/logging.h> # include <zenstore/CAS.h> # include <map> # include <atlfile.h> # include <projectedfslib.h> -# include <spdlog/spdlog.h> # pragma comment(lib, "projectedfslib.lib") @@ -54,7 +54,7 @@ public: HRESULT hRes = ManifestFile.Create(ManifestSpec.c_str(), GENERIC_READ, FILE_SHARE_READ, OPEN_EXISTING); if (FAILED(hRes)) { - spdlog::error("MANIFEST NOT FOUND!"); // TODO: add context + ZEN_ERROR("MANIFEST NOT FOUND!"); // TODO: add context return hRes; } @@ -588,11 +588,11 @@ retry: if (SUCCEEDED(hRes)) { - spdlog::info("Successfully mounted snapshot at '{}'!", WideToUtf8(RootPath.c_str())); + ZEN_INFO("Successfully mounted snapshot at '{}'!", WideToUtf8(RootPath.c_str())); } else { - spdlog::info("Failed mounting snapshot at '{}'!", WideToUtf8(RootPath.c_str())); + ZEN_INFO("Failed mounting snapshot at '{}'!", WideToUtf8(RootPath.c_str())); } return hRes; |