45 bool verbose,
int threshold,
bool truncate)
47 truncate ? std::ios::out : std::ios::app),
55 truncate ? std::ios::out : std::ios::app),
63 truncate ? std::ios::out : std::ios::app),
73 std::ofstream *ofstrm =
dynamic_cast<std::ofstream*
>(
_strm);
74 if (ofstrm != NULL && ofstrm->is_open()) {
Extent< int, N > truncate(Extent< double, N > const &input)
an encapsulation of a logging stream that will filter messages based on their volume (importance) lev...
virtual ~FileDestination()
FileDestination(const std::string &filepath, const boost::shared_ptr< LogFormatter > &formatter, int threshold=threshold::PASS_ALL, bool truncate=false)
definition of the FileDestination class