36 ScopedMdc(std::string key, std::string
const & value)
37 : _key { std::move(key) }
38 { spdlog::mdc::put(_key, value); }
39 ScopedMdc(ScopedMdc
const &) =
delete;
41 ScopedMdc & operator=(ScopedMdc
const &) =
delete;
44 { spdlog::mdc::remove(_key); }