lsst.log g9d27549199+ef6ac23297
|
Public Member Functions | |
LogMDCScope (std::string const &key, std::string const &value) | |
LogMDCScope (LogMDCScope const &)=delete | |
LogMDCScope & | operator= (LogMDCScope const &)=delete |
LogMDCScope (LogMDCScope &&other) | |
LogMDCScope & | operator= (LogMDCScope &&other) |
~LogMDCScope () | |
|
inline |
Constructor adds KEY/VALUE pair to current thread MDC. Key should not be empty (not checked).
|
inline |
Destructor restores old key value in MDC.