30 #ifndef __CLAW_LOGGER_HPP__
31 #define __CLAW_LOGGER_HPP__
40 #ifndef CLAW_LOGGER_EXPORT
41 # ifdef CLAW_LOGGER_NO_EXPORT
42 # define CLAW_LOGGER_EXPORT
45 # ifdef claw_logger_EXPORTS
46 # define CLAW_LOGGER_EXPORT __declspec(dllexport)
48 # define CLAW_LOGGER_EXPORT __declspec(dllimport)
49 # endif // def claw_logger_EXPORTS
51 # define CLAW_LOGGER_EXPORT
53 # endif // def CLAW_LOGGER_NO_EXPORT
54 #endif // ndef CLAW_LOGGER_EXPORT
75 typedef std::list<stream_type*> stream_list_type;
80 CLAW_LOGGER_EXPORT
void clear();
83 CLAW_LOGGER_EXPORT
void remove(
const stream_type* s );
85 CLAW_LOGGER_EXPORT
void set_level(
int lvl );
88 CLAW_LOGGER_EXPORT
void flush();
94 CLAW_LOGGER_EXPORT log_system&
operator<<( log_system& (*pf)(log_system&) );
105 stream_list_type m_stream;
123 #endif // __CLAW_LOGGER_HPP__