#include <Log.h>
Definition at line 795 of file Log.h.
◆ LogMDCScope() [1/3]
Constructor adds KEY/VALUE pair to current thread MDC.
Key should not be empty (not checked).
Definition at line 802 of file Log.h.
◆ LogMDCScope() [2/3]
lsst::log::LogMDCScope::LogMDCScope |
( |
LogMDCScope const & |
| ) |
|
|
delete |
◆ LogMDCScope() [3/3]
lsst::log::LogMDCScope::LogMDCScope |
( |
LogMDCScope && |
other | ) |
|
|
inline |
Definition at line 812 of file Log.h.
814 _oldValue =
other._oldValue;
◆ ~LogMDCScope()
lsst::log::LogMDCScope::~LogMDCScope |
( |
| ) |
|
|
inline |
Destructor restores old key value in MDC.
Definition at line 835 of file Log.h.
836 if (not _key.
empty()) {
837 if (_oldValue.
empty()) {
◆ operator=() [1/2]
Definition at line 818 of file Log.h.
819 if (not _key.
empty()) {
820 if (_oldValue.
empty()) {
827 _oldValue =
other._oldValue;
◆ operator=() [2/2]
The documentation for this class was generated from the following file:
- /j/snowflake/release/lsstsw/stack/1a1d771/Linux64/log/20.0.0/include/lsst/log/Log.h