< prev index next >
src/share/vm/logging/logTagSet.hpp
Print this page
rev 10661 : [mq]: 8145934
rev 10662 : imported patch 8145934.alternative
@@ -28,10 +28,12 @@
#include "logging/logLevel.hpp"
#include "logging/logOutputList.hpp"
#include "logging/logTag.hpp"
#include "utilities/globalDefinitions.hpp"
+class LogMessageBuffer;
+
// 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:
@@ -95,10 +97,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 LogMessageBuffer& 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 >