X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2Fmain.test.hh;h=aafc4df603450f620719ad2ee3b2a730b069fc65;hb=a1fdb7bb122f0b05be809a922d4b7ef5e125fa67;hp=5a56c0f6fa7fc6a905c6f4ee1148a30d4dd70da7;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/Utils/Logger/main.test.hh b/Utils/Logger/main.test.hh index 5a56c0f..aafc4df 100644 --- a/Utils/Logger/main.test.hh +++ b/Utils/Logger/main.test.hh @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -23,8 +23,8 @@ /** \file \brief main.test public header */ -#ifndef HH_main_test_ -#define HH_main_test_ 1 +#ifndef HH_SENF_Utils_Logger_main_test_ +#define HH_SENF_Utils_Logger_main_test_ 1 // Custom includes @@ -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 ); }}}