< prev index next >
src/share/vm/logging/logOutput.hpp
Print this page
rev 10178 : imported patch 8145934
rev 10179 : [mq]: 8145934.alternative
@@ -24,14 +24,16 @@
#ifndef SHARE_VM_LOGGING_LOGOUTPUT_HPP
#define SHARE_VM_LOGGING_LOGOUTPUT_HPP
#include "logging/logDecorators.hpp"
#include "logging/logLevel.hpp"
+#include "logging/logMessageBuffer.hpp"
#include "memory/allocation.hpp"
#include "utilities/globalDefinitions.hpp"
class LogDecorations;
+class LogMessageBuffer;
class LogTagSet;
// The base class/interface for log outputs.
// Keeps track of the latest configuration string,
// and its selected decorators.
@@ -81,9 +83,10 @@
// Do nothing by default.
}
virtual const char* name() const = 0;
virtual bool initialize(const char* options) = 0;
- virtual int write(const LogDecorations &decorations, const char* msg) = 0;
+ virtual int write(const LogDecorations& decorations, const char* msg) = 0;
+ virtual int write(LogMessageBuffer::Iterator msg_iterator) = 0;
};
#endif // SHARE_VM_LOGGING_LOGOUTPUT_HPP
< prev index next >