Access the ConsoleTarget singleton via instance()
jkaeber [Fri, 11 Jan 2008 09:00:09 +0000 (09:00 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@589 270642c3-0616-0410-b53a-bc976706d245

Utils/Logger/Mainpage.dox

index a0cca7f..fb3af93 100644 (file)
     int main(int, char **)
     {
         // Set up the routing targets
-        senf::log::ConsoleTarget console;
+        senf::log::ConsoleTarget & console (senf::log::ConsoleTarget::instance());
         senf::log::FileTarget logfile ("my.log");
 
         // Debug messages go to the console