Core: add configurable startup log rotation

This commit is contained in:
faumaray committed 2026-07-28 21:10:09 +03:00
1 parent a277f2102b
commit 9637f1eef7
9 files changed
+361 -27

No files matched your search

+2 -1
View File
@@ -187,7 +187,8 @@ namespace Echoion::Core
// Build the console + split-file logging stack and install it as
// the global Void::Log sink (logSink_ must outlive logging).
void installLogging(const std::filesystem::path& logDirectory);
void installLogging(const std::filesystem::path& logDirectory,
const Api::LoggingConfig& config);
// Guard helper: ok if initialized, else a ServiceUnavailable error.
[[nodiscard]] Api::Result<void> requireInitialized() const noexcept;