X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FTarget.hh;h=6f26ddd7a4fda22b5f7a7e990a82fdce79d73e32;hb=7f60122e00a4680d39b199a738160eb8a5dea381;hp=69fd1d123115c7987da35c61c92ddea75c8279c1;hpb=41eff772147b6df1961d9029ba6815b553b4f81d;p=senf.git diff --git a/Utils/Logger/Target.hh b/Utils/Logger/Target.hh index 69fd1d1..6f26ddd 100644 --- a/Utils/Logger/Target.hh +++ b/Utils/Logger/Target.hh @@ -56,6 +56,7 @@ namespace log { namespace detail { class TargetRegistry; } namespace detail { class AreaBase; } + namespace detail { struct LogParameters; } /** \brief Logging target base class @@ -341,6 +342,8 @@ namespace log { void flush(); ///< Clear routing table + senf::console::ScopedDirectory<> & consoleDir(); ///< Get console/config directory + private: void route(detail::StreamBase const * stream, detail::AreaBase const * area, unsigned level, action_t action, int index); @@ -353,6 +356,8 @@ namespace log { detail::AreaBase const & area, unsigned level, std::string const & message); void consoleList(std::ostream & os); + void consoleRoute(int index, detail::LogParameters const & pm, action_t action); + void consoleUnroute(detail::LogParameters const & pm, action_t action); # ifdef DOXYGEN protected: