From: jkaeber Date: Fri, 11 Jan 2008 09:00:09 +0000 (+0000) Subject: Access the ConsoleTarget singleton via instance() X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=62da0fc2f859a98e105b45859c346750a1435ebb;p=senf.git Access the ConsoleTarget singleton via instance() git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@589 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Utils/Logger/Mainpage.dox b/Utils/Logger/Mainpage.dox index a0cca7f..fb3af93 100644 --- a/Utils/Logger/Mainpage.dox +++ b/Utils/Logger/Mainpage.dox @@ -117,7 +117,7 @@ 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