X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FIOStreamTarget.hh;h=bcdfa3964bdd06ca699953342f1f52ba104df014;hb=394ced7000128fef7e753caea1deda8d55dec8e2;hp=229ab6309c4614537327adbf81aa4bb8d2880c6b;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Logger/IOStreamTarget.hh b/senf/Utils/Logger/IOStreamTarget.hh index 229ab63..bcdfa39 100644 --- a/senf/Utils/Logger/IOStreamTarget.hh +++ b/senf/Utils/Logger/IOStreamTarget.hh @@ -27,13 +27,11 @@ #define HH_SENF_Utils_Logger_IOStreamTarget_ 1 // Custom includes -#include -#include #include "Target.hh" #include "LogFormat.hh" //#include "IOStreamTarget.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -44,23 +42,23 @@ namespace log { \verbatim [][] \endverbatim The \e area will be omitted if it is \c senf::log::DefaultArea. - + \warning The class keeps a reference to the passed stream. - + \ingroup targets */ class IOStreamTarget : public Target, private detail::LogFormat { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ IOStreamTarget(std::string const & name, std::ostream & os); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// using detail::LogFormat::showTime; using detail::LogFormat::showStream; @@ -68,10 +66,10 @@ namespace log { using detail::LogFormat::showArea; using detail::LogFormat::timeFormat; using detail::LogFormat::tag; - + protected: - void v_write(time_type timestamp, std::string const & stream, - std::string const & area, unsigned level, + void v_write(time_type timestamp, std::string const & stream, + std::string const & area, unsigned level, std::string const & message); private: @@ -81,7 +79,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "IOStreamTarget.cci" //#include "IOStreamTarget.ct" //#include "IOStreamTarget.cti"