X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FLogFormat.hh;h=8e2469ceeb557aa9695e2250938f45f281a6066b;hb=394ced7000128fef7e753caea1deda8d55dec8e2;hp=4e79978a695d98e0892cd41641479910eafa0db5;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Logger/LogFormat.hh b/senf/Utils/Logger/LogFormat.hh index 4e79978..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 "../Console/LazyDirectory.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"