// $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 <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
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"));
}
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