30#ifndef __CLAW_LOG_STREAM_UNIQ_HPP__
31#define __CLAW_LOG_STREAM_UNIQ_HPP__
37#ifndef CLAW_LOGGER_EXPORT
38#ifdef CLAW_LOGGER_NO_EXPORT
39#define CLAW_LOGGER_EXPORT
42#ifdef claw_logger_EXPORTS
43#define CLAW_LOGGER_EXPORT __declspec(dllexport)
45#define CLAW_LOGGER_EXPORT __declspec(dllimport)
48#define CLAW_LOGGER_EXPORT
67 virtual void write(
const std::string& str);
71 void output_current_line();
78 std::string m_current_line;
81 std::string m_previous_line;
84 std::size_t m_repetition_count;
virtual void write(const std::string &str)
Write a string in the stream.
log_stream_uniq(log_stream *s)
Constructor.
virtual void flush()
Flush the stream.
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.