31 #ifndef __CLAW_LOG_STREAM_CONCISE_HPP__ 32 #define __CLAW_LOG_STREAM_CONCISE_HPP__ 39 #ifndef CLAW_LOGGER_EXPORT 40 #ifdef CLAW_LOGGER_NO_EXPORT 41 #define CLAW_LOGGER_EXPORT 44 #ifdef claw_logger_EXPORTS 45 #define CLAW_LOGGER_EXPORT __declspec(dllexport) 47 #define CLAW_LOGGER_EXPORT __declspec(dllimport) 48 #endif // def claw_logger_EXPORTS 50 #define CLAW_LOGGER_EXPORT 52 #endif // def CLAW_LOGGER_NO_EXPORT 53 #endif // ndef CLAW_LOGGER_EXPORT 68 std::size_t max_history_size = 25);
71 virtual void write(
const std::string& str);
75 void output_current_line();
82 std::string m_current_line;
85 std::list<std::string> m_previous_lines;
88 std::size_t m_max_history_size;
93 #endif // __CLAW_LOG_STREAM_CONCISE_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.
This is the main namespace.
A log stream that does not output a message that have been recently output.