X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FConfig.hh;h=9725f04754fc64a8fa2f3b12329774f412736955;hb=ac86c2bb40746fbedf70a19af3307e5da642b04a;hp=a9bf7c7a49ce12ec6c2b12d168a2b2f19e640835;hpb=61419d9a2e1060f7ede22fa19fd9d0b401bbc87a;p=senf.git diff --git a/Utils/Logger/Config.hh b/Utils/Logger/Config.hh index a9bf7c7..9725f04 100644 --- a/Utils/Logger/Config.hh +++ b/Utils/Logger/Config.hh @@ -45,7 +45,8 @@ Runtime configuration on the other hand deals with routing all those messages, which are enabled at compile time to the logging targets. If a message is not routed, it will be - discarded. This allows to additionally disable messages at run-time. + discarded. This allows to additionally disable messages at run-time. Message routing is managed + via the \ref Target interface. */ namespace senf { @@ -62,7 +63,7 @@ namespace log { be set on the compiler command line:
         g++ ... -DSENF_LOG_CONF="(( (senf)(log)(Debug),(_),DISABLED ))
-                                 (( (senf)(log)(Debug),(foo)(SomeClass),(VERBOSE) ))
+                                 (( (senf)(log)(Debug),(foo)(SomeClass),VERBOSE ))
                                  (( (foo)(Transactions),(_),NOTICE ))" ...
         
(As this option can get quite long, you might want to use the '-imacros' option instead) @@ -118,7 +119,7 @@ namespace log { struct Enabled { static const bool value = ( - (Level::value == senf::log::NONE::value ? Stream::defaultLevel::value : Level::value) + (Level::value == NONE::value ? Stream::defaultLevel::value : Level::value) >= detail::Config::compileLimit::value ); };