diff options
| author | Stefan Boberg <[email protected]> | 2026-01-19 15:47:59 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-01-19 15:47:59 +0100 |
| commit | 975babca65c6e118db268c6335a4ecbf7c2a9744 (patch) | |
| tree | 08c9ad8a58a7a2393ab10b26666d5fd29d44bd63 /src/zenserver/zenserver.h | |
| parent | ZenServerProcess API changes (#719) (diff) | |
| download | zen-975babca65c6e118db268c6335a4ecbf7c2a9744.tar.xz zen-975babca65c6e118db268c6335a4ecbf7c2a9744.zip | |
zenserver API changes, some other minor changes (#720)
* add system metrics output to top command
* removed unnecessary xmake directives
* file system API/comment tweaks
* fixed out-of-range access in httpserver test
* updated ZenServer base API to allow customization by mode
Diffstat (limited to 'src/zenserver/zenserver.h')
| -rw-r--r-- | src/zenserver/zenserver.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zenserver/zenserver.h b/src/zenserver/zenserver.h index 4de865a5f..ab7122fcc 100644 --- a/src/zenserver/zenserver.h +++ b/src/zenserver/zenserver.h @@ -10,6 +10,7 @@ #include <memory> #include <string_view> +#include "config/config.h" ZEN_THIRD_PARTY_INCLUDES_START #include <asio.hpp> @@ -45,7 +46,8 @@ public: protected: int Initialize(const ZenServerConfig& ServerOptions, ZenServerState::ZenServerEntry* ServerEntry); void Finalize(); - void GetBuildOptions(StringBuilderBase& OutOptions); + void GetBuildOptions(StringBuilderBase& OutOptions, char Separator = ',') const; + void LogSettingsSummary(const ZenServerConfig& ServerConfig); protected: NamedMutex m_ServerMutex; @@ -122,6 +124,7 @@ protected: ZenServerConfig& m_ServerOptions; LockFile m_LockFile; + virtual void InitializeLogging(); virtual void DoRun(ZenServerState::ZenServerEntry* Entry) = 0; void NotifyReady(); |