aboutsummaryrefslogtreecommitdiff
path: root/zenserver/diag/logging.cpp
Commit message (Collapse)AuthorAgeFilesLines
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-467/+0
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* fix sentry report callstack (#256)Dan Engelbrecht2023-04-251-51/+0
| | | | | | | * Include file, line and function in sentry log error messages * use sync direct error logger to get correct call stacks on error * changelog * use d1trimfile on windows to shorten file path on windows * constexpr -> consteval
* tweaks for enabling unity buildsStefan Boberg2023-04-191-3/+3
| | | | | | | | | | mostly changes to make sure anonymous namespaces don't clash and a change to avoid windows headers from leaking into other compilation units unity builds are not yet enabled by default, but can be enabled by uncommenting this line in the root `xmake.lua` ``` --add_rules("c++.unity_build") ```
* Use Iso8601 format for logging start and end message (#202)Dan Engelbrecht2022-12-071-2/+3
| | | | * Use Iso8601 format for logging start and end message * changelog
* adjusted logging to be more in line with current configDan Engelbrecht2022-09-151-3/+7
|
* enable json log file (#164)Dan Engelbrecht2022-09-121-3/+154
| | | | | | * Include source location on ZEN_ERROR and ZEN_CRITICAL * Use proper logging for sentry init status * format file logger as json if .json extension is given * changelog
* Add sentry log sink to capture error/critical log statements (#147)Dan Engelbrecht2022-08-261-6/+56
| | | | Attach log file to sentry error reports Log ERROR when std::terminate() is called
* Use "\\?\" prefixed paths and fix hardcoded path delimiters (#149)Dan Engelbrecht2022-08-261-2/+8
| | | | | | * use "\\?\" prefix for windows paths * fix path delimiters * disable vcpkg caching * Workaround for spdlog not being able to create directories prefixed with `\\?\`
* Merged main.Per Larsson2021-12-141-3/+5
|\
| * ToUtf8() -> PathToUtf8() as the latter is less ambiguousMartin Ridgers2021-11-161-3/+3
| |
| * Missing includeMartin Ridgers2021-11-021-0/+1
| |
| * Fixed some assumptions that std::fs::path is a wchar_t under the hoodMartin Ridgers2021-11-011-3/+3
| |
| * Everywhere else has had VT100 support since 1978Martin Ridgers2021-11-011-0/+2
| |
* | log: improved log pattern for file log to make it easier to consume file ↵Stefan Boberg2021-11-031-1/+8
| | | | | | | | logs from servers
* | minor: comment editsStefan Boberg2021-10-181-2/+2
|/
* zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-151-2/+3
| | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above
* Only enable the MSVC debug output sink for sessions when the --debug mode is ↵Stefan Boberg2021-10-061-1/+1
| | | | | | enabled Previously it would always be enabled if an attached debugger was detected but it impacts performance quite severely so now it is opt-in
* Added option to specify path to logfile.Per Larsson2021-10-061-1/+2
|
* Added http_requests logger for (optionally) logging HTTP requestsStefan Boberg2021-09-261-0/+12
|
* Eliminated some redundant logger configurationStefan Boberg2021-09-171-2/+0
|
* Changed file logging to use a rotating log strategyStefan Boberg2021-09-171-1/+18
|
* clang-formatStefan Boberg2021-09-171-1/+11
|
* Moved zenserverprocess into zenutil/zenserverprocess.hStefan Boberg2021-09-171-0/+6
|
* Tweaked logging to streamline access, and simplified setup code for new loggersStefan Boberg2021-09-151-6/+9
|
* clang-formatStefan Boberg2021-09-091-2/+2
|
* Moved a bunch of logging code into zencoreStefan Boberg2021-09-081-40/+26
|
* Zen upstream support (#7)Per Larsson2021-09-031-0/+4
|
* Asynchronous upstream caching to JupiterPer Larsson2021-08-311-9/+55
| | | | Co-authored-by: Stefan Boberg <[email protected]>
* Added basic file loggingStefan Boberg2021-08-271-0/+9
|
* Adding zenservice codeStefan Boberg2021-05-111-0/+204