Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/DicomModification.cpp @ 4268:0ae2ca210077
new macro TLOG() to replace VLOG() for trace logs with a category
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Nov 2020 14:48:15 +0100 |
parents | 7112a8af0b63 |
children | 0034f855c023 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomModification.cpp Sun Nov 01 12:43:18 2020 +0100 +++ b/OrthancFramework/Sources/DicomParsing/DicomModification.cpp Mon Nov 02 14:48:15 2020 +0100 @@ -1166,12 +1166,12 @@ { case DicomModification::TagOperation_Keep: target.Keep(tag); - VLOG(1) << "Keep: " << name << " " << tag; + LOG(TRACE) << "Keep: " << name << " " << tag; break; case DicomModification::TagOperation_Remove: target.Remove(tag); - VLOG(1) << "Remove: " << name << " " << tag; + LOG(TRACE) << "Remove: " << name << " " << tag; break; default: @@ -1207,8 +1207,8 @@ target.Replace(tag, value, false); - VLOG(1) << "Replace: " << name << " " << tag - << " == " << value.toStyledString(); + LOG(TRACE) << "Replace: " << name << " " << tag + << " == " << value.toStyledString(); } }