InitFileSink(): return name of the created file

This commit is contained in:
Alexey Rybalchenko
2020-07-09 11:51:42 +02:00
parent 2b8b257812
commit adcd48937a
2 changed files with 7 additions and 6 deletions

View File

@@ -272,8 +272,8 @@ class Logger
static void SetConsoleColor(const bool colored = true);
static void InitFileSink(const Severity severity, const std::string& filename, bool customizeName = true);
static void InitFileSink(const std::string& severityStr, const std::string& filename, bool customizeName = true);
static std::string InitFileSink(const Severity severity, const std::string& filename, bool customizeName = true);
static std::string InitFileSink(const std::string& severityStr, const std::string& filename, bool customizeName = true);
static void RemoveFileSink();