summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/log/Selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/log/Selector.h')
-rw-r--r--cpp/src/qpid/log/Selector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/log/Selector.h b/cpp/src/qpid/log/Selector.h
index 329541b7fc..bba3f05bfc 100644
--- a/cpp/src/qpid/log/Selector.h
+++ b/cpp/src/qpid/log/Selector.h
@@ -43,6 +43,8 @@ class Selector {
Selector(Level l, const std::string& s=std::string()) {
enable(l,s);
}
+
+ Selector(const std::string& enableStr) { enable(enableStr); }
/**
* Enable messages with level in levels where the file
* name contains substring. Empty string matches all.