X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FTarget.ih;h=8cd0095eabea242f5779367db0ddee42ca826345;hb=4101c2b818ec67e7469ebb44f030eed2185c4ab0;hp=324baff560d2ad140767dbd04e924ccd3e502664;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Utils/Logger/Target.ih b/senf/Utils/Logger/Target.ih index 324baff..8cd0095 100644 --- a/senf/Utils/Logger/Target.ih +++ b/senf/Utils/Logger/Target.ih @@ -34,7 +34,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -54,7 +54,7 @@ namespace detail { std::ostream & operator<<(std::ostream & os, LogParameters const & pm); - void senf_console_parse_argument(console::ParseCommandInfo::TokensRange const & tokens, + void senf_console_parse_argument(console::ParseCommandInfo::TokensRange const & tokens, LogParameters & out); /** \brief Internal: Target registry */ @@ -62,18 +62,18 @@ namespace detail { : public senf::singleton { public: - enum Level { - VERBOSE = senf::log::VERBOSE::value, - NOTICE = senf::log::NOTICE::value, - MESSAGE = senf::log::MESSAGE::value, - IMPORTANT = senf::log::IMPORTANT::value, - CRITICAL = senf::log::CRITICAL::value, + enum Level { + VERBOSE = senf::log::VERBOSE::value, + NOTICE = senf::log::NOTICE::value, + MESSAGE = senf::log::MESSAGE::value, + IMPORTANT = senf::log::IMPORTANT::value, + CRITICAL = senf::log::CRITICAL::value, FATAL = senf::log::FATAL::value }; using senf::singleton::instance; - void write(StreamBase const & stream, AreaBase const & area, unsigned level, + void write(StreamBase const & stream, AreaBase const & area, unsigned level, std::string const & msg); void routed(); @@ -86,7 +86,7 @@ namespace detail { private: TargetRegistry(); ~TargetRegistry(); - + void registerTarget(Target * target, std::string const & name); void unregisterTarget(Target * target); @@ -104,7 +104,7 @@ namespace detail { console::LazyDirectory consoleDir_; Targets dynamicTargets_; - + friend class senf::log::Target; friend class senf::singleton; }; @@ -115,7 +115,7 @@ namespace detail { #ifndef DOXYGEN - // This code takes the routing target template arguments in any order and sorts them + // This code takes the routing target template arguments in any order and sorts them // by type (Stream, Area and Level). senf::mpl::rv<0u> RouteParameterCheck_(...); @@ -200,7 +200,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif