19 #ifndef OST_LOG_SINK_HH
20 #define OST_LOG_SINK_HH
28 #include <boost/shared_ptr.hpp>
38 virtual void LogMessage(
const String& message,
int severity=0)=0;
51 std::ostream& stream_;
58 if (stream_.is_open()){
68 std::ofstream stream_;
79 void LogMessage(
const String& message,
int severity);
81 std::vector<LogSinkPtr> sinks_;