< prev index next >
src/share/vm/logging/log.hpp
Print this page
rev 10661 : [mq]: 8145934
rev 10662 : imported patch 8145934.alternative
*** 31,40 ****
--- 31,42 ----
#include "memory/allocation.hpp"
#include "runtime/os.hpp"
#include "utilities/debug.hpp"
#include "utilities/ostream.hpp"
+ class LogMessageBuffer;
+
//
// Logging macros
//
// Usage:
// log_<level>(<comma separated log tags>)(<printf-style log arguments>);
*** 132,141 ****
--- 134,147 ----
va_start(args, fmt);
vwrite(level, fmt, args);
va_end(args);
};
+ static void write(const LogMessageBuffer& msg) {
+ LogTagSetMapping<T0, T1, T2, T3, T4>::tagset().log(msg);
+ };
+
template <LogLevelType Level>
ATTRIBUTE_PRINTF(1, 2)
static void write(const char* fmt, ...) {
va_list args;
va_start(args, fmt);
< prev index next >