// Custom includes
#include <sstream>
#include "Target.hh"
+#include "../Console/LazyDirectory.hh"
//#include "LogFormat.mpp"
///////////////////////////////hh.p////////////////////////////////////////
{
public:
LogFormat();
+ explicit LogFormat(console::ScopedDirectory<> & dir);
void showTime(bool flag = true); ///< Enable or disable output of time field
void showStream(bool flag = true); ///< Enable or disable output of stream field
std::string prefix(time_type timestamp, std::string const & stream,
std::string const & area, unsigned level);
bool isPlainFormat() const;
+ void consoleFormat(std::ostream & os);
private:
+
std::string tag_;
+ std::string timeFormat_;
std::stringstream datestream_;
bool noformat_;
bool showTime_;