#include "IOStreamTarget.hh"
//#include "FileTarget.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
\code
senf::log::FileTarget target ("file.name");
-
+
// Route all messages to this file.
target.route();
\endcode
\ingroup targets
*/
- class FileTarget
+ class FileTarget
: private boost::base_from_member<std::ofstream>,
public IOStreamTarget
{
typedef boost::base_from_member<std::ofstream> 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
}}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
//#include "FileTarget.cci"
//#include "FileTarget.ct"
//#include "FileTarget.cti"