Utils/Logger: cleaned up some #includes
tho [Thu, 6 Jan 2011 16:52:09 +0000 (16:52 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1757 270642c3-0616-0410-b53a-bc976706d245

senf/Utils/Logger/AreaRegistry.hh
senf/Utils/Logger/FileTarget.cc
senf/Utils/Logger/IOStreamTarget.cc
senf/Utils/Logger/IOStreamTarget.hh
senf/Utils/Logger/StreamRegistry.hh
senf/Utils/Logger/SyslogUDPTarget.hh
senf/Utils/Logger/Target.hh
senf/Utils/Logger/Target.ih

index 21ebc12..230f07e 100644 (file)
@@ -28,7 +28,6 @@
 
 // Custom includes
 #include <map>
-#include <functional>
 #include <boost/iterator/transform_iterator.hpp>
 #include <senf/Utils/singleton.hh>
 
index b0a61c5..4f9c02f 100644 (file)
@@ -30,7 +30,6 @@
 #include <senf/Utils/Console/ParsedCommand.hh>
 #include <senf/Utils/Console/Variables.hh>
 #include <senf/Utils/Console/ScopedDirectory.hh>
-#include <senf/Utils/Exception.hh>
 #include <boost/filesystem/path.hpp>
 
 //#include "FileTarget.mpp"
index c302412..79b37c3 100644 (file)
@@ -27,8 +27,6 @@
 //#include "IOStreamTarget.ih"
 
 // Custom includes
-#include <locale>
-#include <sstream>
 #include <boost/algorithm/string/trim.hpp>
 #include <boost/tokenizer.hpp>
 
index b70f02d..bcdfa39 100644 (file)
@@ -27,8 +27,6 @@
 #define HH_SENF_Utils_Logger_IOStreamTarget_ 1
 
 // Custom includes
-#include <boost/utility.hpp>
-#include <boost/scoped_ptr.hpp>
 #include "Target.hh"
 #include "LogFormat.hh"
 
index 14a007b..7856eab 100644 (file)
 
 // Custom includes
 #include <map>
-#include <functional>
 #include <ext/functional>
 #include <boost/iterator/transform_iterator.hpp>
-#include "Levels.hh"
 #include <senf/Utils/singleton.hh>
 
 //#include "StreamRegistry.mpp"
index fd14f7a..8abb201 100644 (file)
@@ -27,8 +27,9 @@
 #define HH_SENF_Utils_Logger_SyslogUDPTarget_ 1
 
 // Custom includes
-#include "SyslogTarget.hh"
+#include <syslog.h>
 #include "LogFormat.hh"
+#include "Target.hh"
 #include <senf/Socket/Protocols/INet/INetAddressing.hh>
 #include <senf/Socket/ClientSocketHandle.hh>
 #include <senf/Socket/FramingPolicy.hh>
@@ -47,9 +48,9 @@ namespace log {
         host should have a syslog daemon or relay running. The protocol is defined in <a
         href="http://tools.ietf.org/html/rfc3164">RFC-3164</a>.
 
-        This log target has some important benefits:
+        This %log target has some important benefits:
 
-        \li It will never block. It may however lose log messages.
+        \li It will never block. It may however lose %log messages.
         \li It does \e not add timestamp information locally.
 
         These are \e advantages since this makes SyslogUDPTarget a very reliable high-performance
index 7682a06..928c060 100644 (file)
 #define HH_SENF_Utils_Logger_Target_ 1
 
 // Custom includes
-#include <set>
 #include <vector>
 #include <boost/utility.hpp>
-#include <boost/type_traits/is_convertible.hpp>
-#include <senf/Utils/singleton.hh>
-#include <senf/Utils/mpl.hh>
-#include "StreamRegistry.hh"
 #include <senf/Utils/Exception.hh>
-#include "TimeSource.hh"
 #include <senf/Utils/Console/LazyDirectory.hh>
+#include "TimeSource.hh"
+#include "Levels.hh"
 
 //#include "Target.mpp"
 //-/////////////////////////////////////////////////////////////////////////////////////////////////
@@ -57,6 +53,7 @@ namespace log {
     namespace detail { class TargetRegistry; }
     namespace detail { class AreaBase; }
     namespace detail { struct LogParameters; }
+    namespace detail { struct StreamBase; }
 
     /** \brief Logging target base class
 
index 8cd0095..024e479 100644 (file)
 #define IH_SENF_Utils_Logger_Target_ 1
 
 // Custom includes
+#include <set>
 #include <memory>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/static_assert.hpp>
 #include <boost/shared_ptr.hpp>
+#include <senf/Utils/singleton.hh>
+#include <senf/Utils/mpl.hh>
 #include <senf/Utils/Console/LazyDirectory.hh>
 #include <senf/Utils/Console/Parse.hh>