LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
LogFileReadResult.hpp
Go to the documentation of this file.
1#pragma once
2#ifndef LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_UTILS_LOGFILEREADRESULT_HPP_INCLUDED
3#define LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_UTILS_LOGFILEREADRESULT_HPP_INCLUDED
4
7
8#include "LogFileInfo.hpp"
9#include <string>
10
11namespace logit {
12
16 std::string content;
17 bool ok = false;
18 };
19
20} // namespace logit
21
22#endif // LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_UTILS_LOGFILEREADRESULT_HPP_INCLUDED
Public DTO that describes a persisted log file exposed by a file-based backend.
The primary namespace for the LogIt++ library.
Metadata for a persisted log file owned by a logger backend.
Result of reading a persisted log file from a file-based backend.
LogFileInfo file
Metadata for the requested file.
bool ok
Whether the read succeeded.
std::string content
File contents when the read succeeded.