X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FTarget.ih;fp=senf%2FUtils%2FLogger%2FTarget.ih;h=7a7c83213fe79a0e72da70a3290f2f6233fb49e6;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=324baff560d2ad140767dbd04e924ccd3e502664;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Utils/Logger/Target.ih b/senf/Utils/Logger/Target.ih index 324baff..7a7c832 100644 --- a/senf/Utils/Logger/Target.ih +++ b/senf/Utils/Logger/Target.ih @@ -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_(...);