< prev index next >

src/share/vm/logging/logDecorators.hpp

Print this page
rev 10178 : imported patch 8145934


  83   };
  84 
  85   void clear() {
  86     _decorators = 0;
  87   }
  88 
  89   static const char* name(LogDecorators::Decorator decorator) {
  90     return _name[decorator][0];
  91   }
  92 
  93   static const char* abbreviation(LogDecorators::Decorator decorator) {
  94     return _name[decorator][1];
  95   }
  96 
  97   static LogDecorators::Decorator from_string(const char* str);
  98 
  99   void combine_with(const LogDecorators &source) {
 100     _decorators |= source._decorators;
 101   }
 102 




 103   bool is_decorator(LogDecorators::Decorator decorator) const {
 104     return (_decorators & mask(decorator)) != 0;
 105   }
 106 
 107   bool parse(const char* decorator_args, outputStream* errstream = NULL);
 108 };
 109 
 110 #endif // SHARE_VM_LOGGING_LOGDECORATORS_HPP


  83   };
  84 
  85   void clear() {
  86     _decorators = 0;
  87   }
  88 
  89   static const char* name(LogDecorators::Decorator decorator) {
  90     return _name[decorator][0];
  91   }
  92 
  93   static const char* abbreviation(LogDecorators::Decorator decorator) {
  94     return _name[decorator][1];
  95   }
  96 
  97   static LogDecorators::Decorator from_string(const char* str);
  98 
  99   void combine_with(const LogDecorators &source) {
 100     _decorators |= source._decorators;
 101   }
 102 
 103   bool is_empty() const {
 104     return _decorators == 0;
 105   }
 106 
 107   bool is_decorator(LogDecorators::Decorator decorator) const {
 108     return (_decorators & mask(decorator)) != 0;
 109   }
 110 
 111   bool parse(const char* decorator_args, outputStream* errstream = NULL);
 112 };
 113 
 114 #endif // SHARE_VM_LOGGING_LOGDECORATORS_HPP
< prev index next >