X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FDebugModules.hh;h=67068d1e2fe277c610634646d1c83b3ea739e27d;hb=82ad2ed94c12c3e53097fef92978de8c28239fab;hp=7377ea5a541ca3ddf53f447d4315d686f945583e;hpb=e8b91aa6a817af6d9a3714e7b66be6c0d6b0a4e5;p=senf.git diff --git a/PPI/DebugModules.hh b/PPI/DebugModules.hh index 7377ea5..67068d1 100644 --- a/PPI/DebugModules.hh +++ b/PPI/DebugModules.hh @@ -28,11 +28,11 @@ // Custom includes #include -#include "Utils/SafeBool.hh" -#include "Packets/Packets.hh" +#include "../Utils/SafeBool.hh" +#include "../Packets/Packets.hh" #include "Module.hh" #include "ActiveFeeder.hh" -#include "Utils/Logger.hh" +#include "../Utils/Logger.hh" //#include "DebugModules.mpp" ///////////////////////////////hh.p//////////////////////////////////////// @@ -264,20 +264,20 @@ namespace debug { /** \brief Log received packets This module will log all packets sent to it's input using SENF_LOG to the given log - \a Stream, \a Area and \a level. + \a Stream, \a Area and \a Level. */ - template < class Stream = log::Debug, - class Area = log::DefaultArea, - senf::log::Level level = log::VERBOSE > - class LogWriter + template < class Stream = log::Debug, + class Area = log::DefaultArea, + class Level = log::VERBOSE > + class LogSink : public module::Module { - SENF_PPI_MODULE(LogWriter); + SENF_PPI_MODULE(LogSink); public: connector::PassiveInput input; - LogWriter(); + LogSink(); private: void request();