X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FLogFormat.hh;h=62f01dae98c2abdb983384676f1ca24c530de257;hb=cb50871835b7a5c37e4fd32d38de67fa12570ebc;hp=96bd3fa8f91ff5bee66ff42523a782feab55c4d0;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Utils/Logger/LogFormat.hh b/senf/Utils/Logger/LogFormat.hh index 96bd3fa..62f01da 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,7 +28,7 @@ // Custom includes #include -#include "Target.hh" +#include "TimeSource.hh" #include //#include "LogFormat.mpp" @@ -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);