From: tho Date: Thu, 6 Jan 2011 16:52:09 +0000 (+0000) Subject: Utils/Logger: cleaned up some #includes X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=94e4eda4358a4def564175ae42173f91307e36a4;p=senf.git Utils/Logger: cleaned up some #includes git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1757 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Utils/Logger/AreaRegistry.hh b/senf/Utils/Logger/AreaRegistry.hh index 21ebc12..230f07e 100644 --- a/senf/Utils/Logger/AreaRegistry.hh +++ b/senf/Utils/Logger/AreaRegistry.hh @@ -28,7 +28,6 @@ // Custom includes #include -#include #include #include diff --git a/senf/Utils/Logger/FileTarget.cc b/senf/Utils/Logger/FileTarget.cc index b0a61c5..4f9c02f 100644 --- a/senf/Utils/Logger/FileTarget.cc +++ b/senf/Utils/Logger/FileTarget.cc @@ -30,7 +30,6 @@ #include #include #include -#include #include //#include "FileTarget.mpp" diff --git a/senf/Utils/Logger/IOStreamTarget.cc b/senf/Utils/Logger/IOStreamTarget.cc index c302412..79b37c3 100644 --- a/senf/Utils/Logger/IOStreamTarget.cc +++ b/senf/Utils/Logger/IOStreamTarget.cc @@ -27,8 +27,6 @@ //#include "IOStreamTarget.ih" // Custom includes -#include -#include #include #include diff --git a/senf/Utils/Logger/IOStreamTarget.hh b/senf/Utils/Logger/IOStreamTarget.hh index b70f02d..bcdfa39 100644 --- a/senf/Utils/Logger/IOStreamTarget.hh +++ b/senf/Utils/Logger/IOStreamTarget.hh @@ -27,8 +27,6 @@ #define HH_SENF_Utils_Logger_IOStreamTarget_ 1 // Custom includes -#include -#include #include "Target.hh" #include "LogFormat.hh" diff --git a/senf/Utils/Logger/StreamRegistry.hh b/senf/Utils/Logger/StreamRegistry.hh index 14a007b..7856eab 100644 --- a/senf/Utils/Logger/StreamRegistry.hh +++ b/senf/Utils/Logger/StreamRegistry.hh @@ -28,10 +28,8 @@ // Custom includes #include -#include #include #include -#include "Levels.hh" #include //#include "StreamRegistry.mpp" diff --git a/senf/Utils/Logger/SyslogUDPTarget.hh b/senf/Utils/Logger/SyslogUDPTarget.hh index fd14f7a..8abb201 100644 --- a/senf/Utils/Logger/SyslogUDPTarget.hh +++ b/senf/Utils/Logger/SyslogUDPTarget.hh @@ -27,8 +27,9 @@ #define HH_SENF_Utils_Logger_SyslogUDPTarget_ 1 // Custom includes -#include "SyslogTarget.hh" +#include #include "LogFormat.hh" +#include "Target.hh" #include #include #include @@ -47,9 +48,9 @@ namespace log { host should have a syslog daemon or relay running. The protocol is defined in RFC-3164. - 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 diff --git a/senf/Utils/Logger/Target.hh b/senf/Utils/Logger/Target.hh index 7682a06..928c060 100644 --- a/senf/Utils/Logger/Target.hh +++ b/senf/Utils/Logger/Target.hh @@ -27,16 +27,12 @@ #define HH_SENF_Utils_Logger_Target_ 1 // Custom includes -#include #include #include -#include -#include -#include -#include "StreamRegistry.hh" #include -#include "TimeSource.hh" #include +#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 diff --git a/senf/Utils/Logger/Target.ih b/senf/Utils/Logger/Target.ih index 8cd0095..024e479 100644 --- a/senf/Utils/Logger/Target.ih +++ b/senf/Utils/Logger/Target.ih @@ -27,10 +27,13 @@ #define IH_SENF_Utils_Logger_Target_ 1 // Custom includes +#include #include #include #include #include +#include +#include #include #include