30 #ifndef __CLAW_LOG_STREAM_UNIQ_HPP__ 31 #define __CLAW_LOG_STREAM_UNIQ_HPP__ 36 #ifndef CLAW_LOGGER_EXPORT 37 # ifdef CLAW_LOGGER_NO_EXPORT 38 # define CLAW_LOGGER_EXPORT 41 # ifdef claw_logger_EXPORTS 42 # define CLAW_LOGGER_EXPORT __declspec(dllexport) 44 # define CLAW_LOGGER_EXPORT __declspec(dllimport) 45 # endif // def claw_logger_EXPORTS 47 # define CLAW_LOGGER_EXPORT 49 # endif // def CLAW_LOGGER_NO_EXPORT 50 #endif // ndef CLAW_LOGGER_EXPORT 66 virtual void write(
const std::string& str );
70 void output_current_line();
77 std::string m_current_line;
80 std::string m_previous_line;
83 std::size_t m_repetition_count;
88 #endif // __CLAW_LOG_STREAM_UNIQ_HPP__ Inherit from this class to forbid construction of your class by copy.
Some basic classes for logging.
Base class for streams accepting log output.
A log stream that does not output successively the same message.
This is the main namespace.