Core: add configurable startup log rotation
This commit is contained in:
1 parent
a277f2102b
commit
9637f1eef7
9 files changed
+361
-27
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user