33 #include <boost/shared_ptr.hpp>
34 #include <boost/signals2/signal.hpp>
36 #include "WLogEntry.h"
37 #include "WLogStream.h"
38 #include "WStringUtils.h"
39 #include "WSharedSequenceContainer.h"
55 static void startup( std::ostream& output = std::cout, LogLevel level = LL_DEBUG );
111 void addLogMessage( std::string message, std::string source =
"", LogLevel level = LL_DEBUG );
147 WLogger( std::ostream& output, LogLevel level );
201 typedef std::basic_ostream< char, std::char_traits< char > > OutStreamType;
202 typedef OutStreamType& ( *StreamManipulatorFunctor )( OutStreamType& );
231 Buffer(
const std::string& source, LogLevel level );
255 : m_buffer( new
Buffer( source, level ) )
261 using string_utils::operator<<;
300 return _wlog( source, LL_ERROR );
311 return _wlog( source, LL_WARNING );
322 return _wlog( source, LL_INFO );
333 return _wlog( source, LL_DEBUG );