hotspot/src/share/vm/logging/logTagLevelExpression.hpp
changeset 40884 0e28c526f5d3
parent 37463 a4581cbe32cd
child 40913 072bdbb90c13
--- a/hotspot/src/share/vm/logging/logTagLevelExpression.hpp	Fri Aug 26 14:47:52 2016 -0700
+++ b/hotspot/src/share/vm/logging/logTagLevelExpression.hpp	Tue Apr 05 16:51:58 2016 +0200
@@ -83,6 +83,11 @@
 
   bool parse(const char* str, outputStream* errstream = NULL);
   LogLevelType level_for(const LogTagSet& ts) const;
+
+  // Verify the tagsets/selections mentioned in this expression.
+  // Returns false if some invalid tagset was found. If given an outputstream,
+  // this function will list all the invalid selections on the stream.
+  bool verify_tagsets(outputStream* out = NULL) const;
 };
 
 #endif // SHARE_VM_LOGGING_LOGTAGLEVELEXPRESSION_HPP