Utils/Logger: BUGFIX: Include local auto_unit_test header
[senf.git] / Utils / Logger / main.test.hh
index 63a1a73..1d20923 100644 (file)
@@ -33,6 +33,7 @@
 #endif
 
 #define SENF_LOG_CONF (( (senf)(log)(Debug), (_), NOTICE )) \
+                      (( (senf)(log)(test)(myStream), (GlobalTestArea), IMPORTANT )) \
                       (( (senf)(log)(test)(myStream), (senf)(log)(test)(Foo), VERBOSE ))
 
 #include "Logger.hh"
@@ -40,6 +41,8 @@
 //#include "main.test.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
 
+SENF_LOG_DEFINE_AREA(GlobalTestArea);
+
 namespace senf {
 namespace log {
 namespace test {
@@ -53,9 +56,9 @@ namespace test {
         }
     };
 
-    SENF_LOG_DEF_ALIAS( LogCritical, (senf::log::Debug) (senf::log::CRITICAL) );
-    SENF_LOG_DEF_STREAM( myStream, senf::log::MESSAGE, senf::log::MESSAGE, senf::log::MESSAGE );
-    SENF_LOG_DEF_AREA( myArea );
+    SENF_LOG_DEFINE_ALIAS( LogCritical, (senf::log::Debug) (senf::log::CRITICAL) );
+    SENF_LOG_DEFINE_STREAM( myStream, senf::log::MESSAGE, senf::log::MESSAGE, senf::log::MESSAGE );
+    SENF_LOG_DEFINE_AREA( myArea );
 
 }}}