X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FLogFormat.cc;h=67f7790dac4f72f5ff7288ed592838c1f7f74603;hb=93d9568d448749dc187e7622b733a4a3caa319df;hp=f77ca7265c46821b57b895eb8d97f8519f57a554;hpb=fde4399789762f8257f7361761bd1a798068e717;p=senf.git diff --git a/senf/Utils/Logger/LogFormat.cc b/senf/Utils/Logger/LogFormat.cc index f77ca72..67f7790 100644 --- a/senf/Utils/Logger/LogFormat.cc +++ b/senf/Utils/Logger/LogFormat.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2009 +// Copyright (C) 2009 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -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), @@ -130,7 +131,7 @@ prefix_ std::string senf::log::detail::LogFormat::prefix(time_type timestamp, << std::setfill('0') << std::setw(9) << (delta % 1000000000ll); } - else + else datestream_ << senf::ClockService::abstime(timestamp); datestream_ << ' '; } @@ -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"