X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FTarget.hh;h=6f26ddd7a4fda22b5f7a7e990a82fdce79d73e32;hb=7f60122e00a4680d39b199a738160eb8a5dea381;hp=db33fa5e355ed425d662316c32c12cbeee08c52e;hpb=3312f76b1836cad486d5f38690ee9c0f84cbc12c;p=senf.git diff --git a/Utils/Logger/Target.hh b/Utils/Logger/Target.hh index db33fa5..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,7 +342,6 @@ namespace log { void flush(); ///< Clear routing table - protected: senf::console::ScopedDirectory<> & consoleDir(); ///< Get console/config directory private: @@ -356,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: