Added Mapped Diagnostic Context (MDC) support (#2907)

* Added Mapped Diagnostic Context (MDC) support

* Update include statement

* Optimize string creation

* Fix includes

* Fix padding rules in mdc empty case

* Add comment to describe the use of mdc formatter
This commit is contained in:
Massimiliano Riva
2024-03-18 16:41:46 +01:00
committed by GitHub
parent 23587b0d9a
commit d03eb40c17
4 changed files with 202 additions and 0 deletions

View File

@@ -26,6 +26,7 @@
#include "spdlog/spdlog.h"
#include "spdlog/async.h"
#include "spdlog/details/fmt_helper.h"
#include "spdlog/mdc.h"
#include "spdlog/sinks/basic_file_sink.h"
#include "spdlog/sinks/daily_file_sink.h"
#include "spdlog/sinks/null_sink.h"