pretty-print tags on startup

This commit is contained in:
Lion Kortlepel
2023-12-28 12:58:29 +01:00
parent 16d3c6f796
commit 6787843b37
5 changed files with 25 additions and 12 deletions

View File

@@ -137,6 +137,8 @@ private:
static inline Version mVersion { 3, 2, 0 };
};
void SplitString(std::string const& str, const char delim, std::vector<std::string>& out);
std::string ThreadName(bool DebugModeOverride = false);
void RegisterThread(const std::string& str);
#define RegisterThreadAuto() RegisterThread(__func__)

View File

@@ -27,6 +27,7 @@ private:
void TryReadValue(toml::value& Table, const std::string& Category, const std::string_view& Key, int& OutValue);
void ParseOldFormat();
std::string TagsAsPrettyArray() const;
bool IsDefault();
bool mFailed { false };
std::string mConfigFileName;