< prev index next >

src/share/vm/logging/logDecorators.hpp

Print this page
rev 10661 : [mq]: 8145934

@@ -100,10 +100,14 @@
 
   void combine_with(const LogDecorators &source) {
     _decorators |= source._decorators;
   }
 
+  bool is_empty() const {
+    return _decorators == 0;
+  }
+
   bool is_decorator(LogDecorators::Decorator decorator) const {
     return (_decorators & mask(decorator)) != 0;
   }
 
   bool parse(const char* decorator_args, outputStream* errstream = NULL);
< prev index next >