30 #ifndef LSST_PEX_FILEDESTINATION_H
31 #define LSST_PEX_FILEDESTINATION_H
35 #include <boost/filesystem/path.hpp>
36 #include <boost/filesystem/operations.hpp>
65 const boost::shared_ptr<LogFormatter>& formatter,
71 formatter, threshold),
75 const boost::shared_ptr<LogFormatter>& formatter,
81 formatter, threshold),
85 const boost::shared_ptr<LogFormatter>& formatter,
91 formatter, threshold),
110 FileDestination(
const boost::filesystem::path& filepath,
bool verbose=
false,
128 #endif // LSST_PEX_LOGDESTINATION_H
FileDestination(const char *filepath, const boost::shared_ptr< LogFormatter > &formatter, int threshold=threshold::PASS_ALL, bool truncate=false)
Extent< int, N > truncate(Extent< double, N > const &input)
FileDestination(const boost::filesystem::path &filepath, const boost::shared_ptr< LogFormatter > &formatter, int threshold=threshold::PASS_ALL, bool truncate=false)
an encapsulation of a logging stream that will filter messages based on their volume (importance) lev...
const boost::filesystem::path & getPath() const
boost::filesystem::path _path
definition of the LogDestination class
virtual ~FileDestination()
a LogDestination represented by a file.
FileDestination(const std::string &filepath, const boost::shared_ptr< LogFormatter > &formatter, int threshold=threshold::PASS_ALL, bool truncate=false)