30 #ifndef __CLAW_LOG_STREAM_HPP__
31 #define __CLAW_LOG_STREAM_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)
46 # endif // def claw_logger_EXPORTS
48 # define CLAW_LOGGER_EXPORT
50 # endif // def CLAW_LOGGER_NO_EXPORT
51 #endif // ndef CLAW_LOGGER_EXPORT
63 virtual void write(
const std::string& str ) = 0;
76 virtual void write(
const std::string& str );
92 virtual void write(
const std::string& str );
97 std::ofstream* m_file;
102 #endif // __CLAW_LOG_STREAM_HPP__
This class write log messages in a file.
Inherit from this class to forbid construction of your class by copy.
This class write log messages in std::clog.
Inherit from this class to forbid copy constructor in your class.
Base class for streams accepting log output.
This is the main namespace.