X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FIOStreamTarget.hh;h=8aa5829b2077fd25ef79cd939d8469f61b59a15d;hb=1f9ac79c1c2dfbb7abe22e1c816ca43d6582102b;hp=aee7e3f3cd303a3b2c874894c68b08d95b8555ab;hpb=adcd3672d48f44103f2b4abc6417acf5d0107978;p=senf.git diff --git a/Utils/Logger/IOStreamTarget.hh b/Utils/Logger/IOStreamTarget.hh index aee7e3f..8aa5829 100644 --- a/Utils/Logger/IOStreamTarget.hh +++ b/Utils/Logger/IOStreamTarget.hh @@ -79,6 +79,8 @@ namespace log { By default, the date-time will be written in extended ISO format. \param[in] format Date/Time format string */ + + void tag(std::string const & tag); protected: void v_write(time_type timestamp, std::string const & stream, @@ -88,6 +90,7 @@ namespace log { private: std::ostream & stream_; + std::string tag_; std::stringstream datestream_; bool noformat_; bool showTime_; @@ -95,6 +98,7 @@ namespace log { bool showLevel_; bool showArea_; + time_type timeBase_; }; }}