diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/logging/backend.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/logging/backend.h b/src/common/logging/backend.h index 9dd2589c3..eb629a33f 100644 --- a/src/common/logging/backend.h +++ b/src/common/logging/backend.h | |||
| @@ -4,10 +4,11 @@ | |||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #include <chrono> | 6 | #include <chrono> |
| 7 | #include <filesystem> | ||
| 7 | #include <memory> | 8 | #include <memory> |
| 8 | #include <string> | 9 | #include <string> |
| 9 | #include <string_view> | 10 | #include <string_view> |
| 10 | #include "common/file_util.h" | 11 | #include "common/fs/file.h" |
| 11 | #include "common/logging/filter.h" | 12 | #include "common/logging/filter.h" |
| 12 | #include "common/logging/log.h" | 13 | #include "common/logging/log.h" |
| 13 | 14 | ||
| @@ -81,7 +82,7 @@ public: | |||
| 81 | */ | 82 | */ |
| 82 | class FileBackend : public Backend { | 83 | class FileBackend : public Backend { |
| 83 | public: | 84 | public: |
| 84 | explicit FileBackend(const std::string& filename); | 85 | explicit FileBackend(const std::filesystem::path& filename); |
| 85 | 86 | ||
| 86 | static const char* Name() { | 87 | static const char* Name() { |
| 87 | return "file"; | 88 | return "file"; |