X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FLogFormat.hh;h=8e2469ceeb557aa9695e2250938f45f281a6066b;hb=93d9568d448749dc187e7622b733a4a3caa319df;hp=96bd3fa8f91ff5bee66ff42523a782feab55c4d0;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Utils/Logger/LogFormat.hh b/senf/Utils/Logger/LogFormat.hh index 96bd3fa..8e2469c 100644 --- a/senf/Utils/Logger/LogFormat.hh +++ b/senf/Utils/Logger/LogFormat.hh @@ -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 @@ -28,11 +28,11 @@ // Custom includes #include -#include "Target.hh" +#include "TimeSource.hh" #include //#include "LogFormat.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -66,7 +66,7 @@ namespace detail { void tag(std::string const & tag); ///< Set tag (log line prefix) protected: - std::string prefix(time_type timestamp, std::string const & stream, + std::string prefix(time_type timestamp, std::string const & stream, std::string const & area, unsigned level); bool isPlainFormat() const; void consoleFormat(std::ostream & os); @@ -89,7 +89,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "LogFormat.cci" //#include "LogFormat.ct" //#include "LogFormat.cti"