< prev index next >

src/share/vm/logging/logTagSet.hpp

Print this page
rev 10178 : imported patch 8145934

@@ -28,10 +28,12 @@
 #include "logging/logLevel.hpp"
 #include "logging/logOutputList.hpp"
 #include "logging/logTag.hpp"
 #include "utilities/globalDefinitions.hpp"
 
+class LogMessage;
+
 // The tagset represents a combination of tags that occur in a log call somewhere.
 // Tagsets are created automatically by the LogTagSetMappings and should never be
 // instantiated directly somewhere else.
 class LogTagSet VALUE_OBJ_CLASS_SPEC {
  private:

@@ -91,10 +93,11 @@
 
   int label(char *buf, size_t len, const char* separator = ",") const;
   bool has_output(const LogOutput* output);
   bool is_level(LogLevelType level) const;
   void log(LogLevelType level, const char* msg);
+  void log(const LogMessage& msg);
 };
 
 template <LogTagType T0, LogTagType T1 = LogTag::__NO_TAG, LogTagType T2 = LogTag::__NO_TAG,
           LogTagType T3 = LogTag::__NO_TAG, LogTagType T4 = LogTag::__NO_TAG>
 class LogTagSetMapping : public AllStatic {
< prev index next >