X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FLogFormat.cc;h=b4d2d494bffae25c63c7df2eac331951ea7bb809;hb=5b2e9a63a43027c71ac470ac9bdecb72e8974951;hp=cd8afc2dd8ca8abdbc1044096f21fde858c9eaa7;hpb=9cb871b939efe93e35dd96808d25089399acfc46;p=senf.git diff --git a/senf/Utils/Logger/LogFormat.cc b/senf/Utils/Logger/LogFormat.cc index cd8afc2..b4d2d49 100644 --- a/senf/Utils/Logger/LogFormat.cc +++ b/senf/Utils/Logger/LogFormat.cc @@ -32,11 +32,12 @@ #include #include #include -#include +#include +#include //#include "LogFormat.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::log::detail::LogFormat::LogFormat() : tag_ (detail::getDefaultTag()), noformat_ (false), showTime_ (true), @@ -49,8 +50,8 @@ prefix_ senf::log::detail::LogFormat::LogFormat(console::ScopedDirectory<> & dir : tag_ (detail::getDefaultTag()), noformat_ (false), showTime_ (true), showStream_ (false), showLevel_ (true), showArea_ (true), timeBase_ (-1) { - namespace kw = senf::console::kw; - namespace fty = senf::console::factory; + namespace kw = console::kw; + namespace fty = console::factory; timeFormat("%Y-%m-%d %H:%M:%S.%f-0000"); @@ -146,7 +147,7 @@ prefix_ std::string senf::log::detail::LogFormat::prefix(time_type timestamp, return datestream_.str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::log::detail::quoteNonPrintable(std::string & s) { @@ -162,7 +163,7 @@ prefix_ std::string senf::log::detail::getDefaultTag() return ss.str(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "LogFormat.mpp"