X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FStringTarget.hh;h=ed16520660a4f47a9920eaad592234127a47b12b;hb=778234c9180629e8985cf2395692124d957a9e5c;hp=6aa740b94025d8dec445004d6dee004025f64757;hpb=ae06fe86f16fdabb7ffb219d255444d2eb4f4f79;p=senf.git diff --git a/Utils/Logger/StringTarget.hh b/Utils/Logger/StringTarget.hh index 6aa740b..ed16520 100644 --- a/Utils/Logger/StringTarget.hh +++ b/Utils/Logger/StringTarget.hh @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer NETwork research (NET) +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -36,7 +36,11 @@ namespace senf { namespace log { - /** \brief Store log messages in a string buffer + /** \brief Store %log messages in a string buffer + + This target is mostly useful for debug purposes. + + \ingroup targets */ class StringTarget : private boost::base_from_member, @@ -56,8 +60,8 @@ namespace log { ///@} /////////////////////////////////////////////////////////////////////////// - std::string str() const; - void clear(); + std::string str() const; ///< Get log messages accumulated so far + void clear(); ///< Clear buffer protected: