aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/diag/diagsvcs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* added support for dynamic LLM tags (#245)Stefan Boberg2024-12-021-0/+13
| | | | | * added FLLMTag which can be used to register memory tags outside of core * changed `UE_MEMSCOPE` -> `ZEN_MEMSCOPE` for consistency * instrumented some subsystems with dynamic tags
* improved assert (#37)Dan Engelbrecht2024-04-041-1/+1
| | | | - Improvement: Add file and line to ASSERT exceptions - Improvement: Catch call stack when throwing assert exceptions and log/output call stack at important places to provide more context to caller
* remove redundant json11 includesStefan Boberg2024-03-261-1/+0
|
* spdlog implementation hiding (#498)Stefan Boberg2023-11-061-1/+4
| | | | | | | | | this change aims to hide logging internals from client code, in order to make it easier to extend and take more control over the logging process in the future. As a bonus side effect, the generated code is much tighter (net delta around 2.5% on the resulting executable which includes lots of thirdparty code) and should take less time to compile and link. Client usage via macros is pretty much unchanged. The main exposure client code had to spdlog internals before was the use of custom loggers per subsystem, where it would be common to have `spdlog::logger` references to keep a reference to a logger within a class. This is now replaced by `zen::LoggerRef` which currently simply encapsulates an actual `spdlog::logger` instance, but this is intended to be an implementation detail which will change in the future. The way the change works is that we now handle any formatting of log messages in the zencore logging subsystem instead of relying on `spdlog` to manage this. We use the `fmt` library to do the formatting which means the client usage is identical to using `spdlog`. The formatted message is then forwarded onto any sinks etc which are still implememted via `spdlog`.
* restructured zenhttp (#472)Stefan Boberg2023-10-131-0/+135
| | | separating the http server implementations into a directory and moved diagsvcs into zenserver since it's somewhat hard-coded for it
* move testing and observability code to zenhttp (#266)Stefan Boberg2023-05-021-127/+0
|
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+127
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees