Skip to content

Commit fb247e7

Browse files
authored
Enhance logging for option types in TableHelper
Added logging for vector<string> type options in TableHelper.
1 parent 4eb919f commit fb247e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Common/Core/TableHelper.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <Framework/RunningWorkflowInfo.h>
2626

2727
#include <string>
28+
#include <vector>
2829

2930
namespace o2::common::core
3031
{
@@ -89,6 +90,10 @@ bool getTaskOptionValue(o2::framework::InitContext& initContext, const std::stri
8990
value = option.defaultValue.get<ValueType>();
9091
if (verbose) {
9192
if constexpr (!std::is_same_v<ValueType, o2::framework::LabeledArray<float>>) {
93+
LOG(info) << " Found option '" << optName << " of type LabeledArray<float>";
94+
} else if constexpr (!std::is_same_v<ValueType, std::vector<std::string>>) {
95+
LOG(info) << " Found option '" << optName << " of type vector<string>";
96+
} else {
9297
LOG(info) << " Found option '" << optName << "' with value '" << value << "'";
9398
}
9499
found = true;

0 commit comments

Comments
 (0)