lsst.log g9d27549199+9e5e24d318
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst::log::LogMDCScope Class Reference

Public Member Functions

 LogMDCScope (std::string const &key, std::string const &value)
 
 LogMDCScope (LogMDCScope const &)=delete
 
LogMDCScopeoperator= (LogMDCScope const &)=delete
 
 LogMDCScope (LogMDCScope &&other)
 
LogMDCScopeoperator= (LogMDCScope &&other)
 
 ~LogMDCScope ()
 

Constructor & Destructor Documentation

◆ LogMDCScope()

lsst::log::LogMDCScope::LogMDCScope ( std::string const &  key,
std::string const &  value 
)
inline

Constructor adds KEY/VALUE pair to current thread MDC. Key should not be empty (not checked).

◆ ~LogMDCScope()

lsst::log::LogMDCScope::~LogMDCScope ( )
inline

Destructor restores old key value in MDC.


The documentation for this class was generated from the following file: