X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FIOStreamTarget.hh;h=05f9eee1564abc00068a07fa551df87f3f857233;hb=456ee576285b76aa46240f8001f426757810dcc1;hp=54c8d062ea1abf2a39f633b1589595f6b6efe311;hpb=74c8ccece7b542a2dfa66bf83a89e6e4fe4f06f3;p=senf.git diff --git a/Utils/Logger/IOStreamTarget.hh b/Utils/Logger/IOStreamTarget.hh index 54c8d06..05f9eee 100644 --- a/Utils/Logger/IOStreamTarget.hh +++ b/Utils/Logger/IOStreamTarget.hh @@ -40,9 +40,7 @@ namespace log { /** \brief Write %log messages to arbitrary std::ostream This target will write %log messages to an arbitrary std::ostream in the format -
-         [][] 
-        
+ \verbatim [][] \endverbatim The \e area will be omitted if it is \c senf::log::DefaultArea. @@ -75,12 +73,11 @@ namespace log { /////////////////////////////////////////////////////////////////////////// protected: - - private: - void v_write(boost::posix_time::ptime timestamp, std::string const & stream, + void v_write(time_type timestamp, std::string const & stream, std::string const & area, unsigned level, std::string const & message); + private: std::ostream & stream_; static char const * const LEVELNAMES_[8]; };