mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Update mdc
This commit is contained in:
parent
4517ce8b5c
commit
cba66029e2
@ -877,7 +877,7 @@ public:
|
|||||||
: flag_formatter(padinfo) {}
|
: flag_formatter(padinfo) {}
|
||||||
|
|
||||||
void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
|
void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
|
||||||
auto mdc_map = mdc::get_context();
|
auto &mdc_map = mdc::get_context();
|
||||||
if (mdc_map.empty()) {
|
if (mdc_map.empty()) {
|
||||||
ScopedPadder p(0, padinfo_, dest);
|
ScopedPadder p(0, padinfo_, dest);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user