< prev index next >

src/share/vm/logging/logDecorators.hpp

Print this page
rev 10661 : [mq]: 8145934


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




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


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