X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FIOStreamTarget.hh;h=2a2763a266ebb4a8033b2ee5f6741db0de54640b;hb=e879290346fe5242d7df2d70ee552d264081492f;hp=84e66fc5047ca77dd67e9c403a721164ab576a7a;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git
diff --git a/Utils/Logger/IOStreamTarget.hh b/Utils/Logger/IOStreamTarget.hh
index 84e66fc..2a2763a 100644
--- a/Utils/Logger/IOStreamTarget.hh
+++ b/Utils/Logger/IOStreamTarget.hh
@@ -40,11 +40,9 @@ 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 it it is \c senf::log::DefaultArea.
+ The \e area will be omitted if it is \c senf::log::DefaultArea.
The date formatting is set using the Boost.DateTime date_facet, e.g.:
\code
@@ -75,16 +73,15 @@ namespace log {
///////////////////////////////////////////////////////////////////////////
protected:
-
- private:
void v_write(boost::posix_time::ptime 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];
};
-
}}
///////////////////////////////hh.e////////////////////////////////////////