hotspot/src/share/vm/logging/logOutput.hpp
changeset 38263 a7488329ad27
parent 37465 1d5551f466ee
child 39707 4974c8df2532
--- a/hotspot/src/share/vm/logging/logOutput.hpp	Tue May 10 03:37:36 2016 +0000
+++ b/hotspot/src/share/vm/logging/logOutput.hpp	Mon May 09 15:46:12 2016 +0200
@@ -26,10 +26,12 @@
 
 #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.
@@ -83,7 +85,8 @@
 
   virtual const char* name() const = 0;
   virtual bool initialize(const char* options, outputStream* errstream) = 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