fix logging
This commit is contained in:
parent
8c319780dc
commit
cf3e34f88c
@ -1326,11 +1326,13 @@ void RaptorEagleCCD::initAttrComm()
|
|||||||
addAttribute(
|
addAttribute(
|
||||||
CAMERA_ATTR_FITS_TEMPLATE,
|
CAMERA_ATTR_FITS_TEMPLATE,
|
||||||
[this]() {
|
[this]() {
|
||||||
logTrace("Return current FITS-image header template filename as {}", _currentTemplateFile);
|
logTrace("Return current FITS-image header template filename as {}",
|
||||||
|
_currentTemplateFile.size() ? _currentTemplateFile : "<empty string>");
|
||||||
return _currentTemplateFile;
|
return _currentTemplateFile;
|
||||||
},
|
},
|
||||||
[this](const std::string& filename) {
|
[this](const std::string& filename) {
|
||||||
logDebug("Set current FITS-image header template filename to {}", filename);
|
logDebug("Set current FITS-image header template filename to {}",
|
||||||
|
filename.size() ? filename : "<empty string>");
|
||||||
|
|
||||||
_currentTemplateFile = filename;
|
_currentTemplateFile = filename;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user