< prev index next >

src/share/vm/logging/logOutput.hpp

Print this page
rev 10178 : imported patch 8145934

*** 24,37 **** --- 24,39 ---- #ifndef SHARE_VM_LOGGING_LOGOUTPUT_HPP #define SHARE_VM_LOGGING_LOGOUTPUT_HPP #include "logging/logDecorators.hpp" #include "logging/logLevel.hpp" + #include "logging/logMessage.hpp" #include "memory/allocation.hpp" #include "utilities/globalDefinitions.hpp" class LogDecorations; + class LogMessage; class LogTagSet; // The base class/interface for log outputs. // Keeps track of the latest configuration string, // and its selected decorators.
*** 81,89 **** // 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; }; #endif // SHARE_VM_LOGGING_LOGOUTPUT_HPP --- 83,92 ---- // 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(LogMessage::Iterator msg_iterator) = 0; }; #endif // SHARE_VM_LOGGING_LOGOUTPUT_HPP
< prev index next >