X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FMainpage.dox;h=83d5b1c2d783c140a57e1690e393cd82f8dda262;hb=a43bafc12216ec8ca3457ab3571917ae5612ec94;hp=a0cca7ff7320b629e8854493a243adeec9a3d6d7;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/Utils/Logger/Mainpage.dox b/Utils/Logger/Mainpage.dox index a0cca7f..83d5b1c 100644 --- a/Utils/Logger/Mainpage.dox +++ b/Utils/Logger/Mainpage.dox @@ -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 @@ -101,7 +101,7 @@ void foo::Froblizer::froblize() { SENF_LOG(("This is the UserLog at level NOTICE in the FroblizeArea")); - SENF_LOG((senf::log::WARNING) ("Same stream and area but at warning level")); + SENF_LOG((senf::log::IMPORTANT) ("Same stream and area but at important level")); SENF_LOG((LogEmerg) ("This goes to the DebugLog at level CRITICAL in the FroblizerArea")); } @@ -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