X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FFileTarget.hh;h=e3b454c1cfcbb4bca01774b49a9a4a87fafe9869;hb=4101c2b818ec67e7469ebb44f030eed2185c4ab0;hp=5a80a7a0c84081cb382d43fbb9b4c57299d23c0e;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Logger/FileTarget.hh b/senf/Utils/Logger/FileTarget.hh index 5a80a7a..e3b454c 100644 --- a/senf/Utils/Logger/FileTarget.hh +++ b/senf/Utils/Logger/FileTarget.hh @@ -33,7 +33,7 @@ #include "IOStreamTarget.hh" //#include "FileTarget.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -48,7 +48,7 @@ namespace log { \code senf::log::FileTarget target ("file.name"); - + // Route all messages to this file. target.route(); \endcode @@ -58,22 +58,22 @@ namespace log { \ingroup targets */ - class FileTarget + class FileTarget : private boost::base_from_member, public IOStreamTarget { typedef boost::base_from_member ofstream_t; public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ - explicit FileTarget(std::string const & filename, std::string const & nodename = ""); + explicit FileTarget(std::string const & filename, std::string const & nodename = ""); ///< Construct FileTarget writing to \a file - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void reopen(); ///< Reopen %log after log-file rotation void reopen(std::string const & file); ///< Reopen %log under a new name @@ -93,7 +93,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "FileTarget.cci" //#include "FileTarget.ct" //#include "FileTarget.cti"