31#ifndef __CLAW_LOG_STREAM_CONCISE_HPP__
32#define __CLAW_LOG_STREAM_CONCISE_HPP__
38#ifndef CLAW_LOGGER_EXPORT
39# ifdef CLAW_LOGGER_NO_EXPORT
40# define CLAW_LOGGER_EXPORT
43# ifdef claw_logger_EXPORTS
44# define CLAW_LOGGER_EXPORT __declspec(dllexport)
46# define CLAW_LOGGER_EXPORT __declspec(dllimport)
49# define CLAW_LOGGER_EXPORT
67 (
log_stream* s, std::size_t max_history_size = 25 );
70 virtual void write(
const std::string& str );
74 void output_current_line();
81 std::string m_current_line;
84 std::list<std::string> m_previous_lines;
87 std::size_t m_max_history_size;
A log stream that does not output a message that have been recently output.
Base class for streams accepting log output.
Inherit from this class to forbid construction of your class by copy.
Some basic classes for logging.
This is the main namespace.