From 5591d50651b81a9a7701d0b6b04799fee2e492eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 25 Feb 2005 16:18:15 +0000 Subject: [PATCH] now naming for the logger: "mrw.stacktrace" instead of simply "libmrw" --- mrw/autostacktracelog4cxx.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mrw/autostacktracelog4cxx.cpp b/mrw/autostacktracelog4cxx.cpp index 67274d5..25b76ef 100644 --- a/mrw/autostacktracelog4cxx.cpp +++ b/mrw/autostacktracelog4cxx.cpp @@ -9,6 +9,9 @@ @license LGPL, see file COPYING $Log$ + Revision 1.6 2005/02/25 16:18:15 marc + now naming for the logger: "mrw.stacktrace" instead of simply "libmrw" + Revision 1.5 2005/01/28 12:13:11 marc interference between group name StackTrace and class name StackTrace @@ -70,7 +73,7 @@ namespace mrw { @code void unexpected_log4cxx() { - log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("libmrw")); + log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger(_T("mrw.stacktrace"))); logger->fatal("Unexpected Exception", __FILE__, __LINE__); StackTrace::createSymtable(); std::string st((std::string)StackTrace()); @@ -92,7 +95,7 @@ namespace mrw { */ void unexpected_log4cxx() { - log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("libmrw")); + log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger(_T("mrw.stacktrace"))); logger->fatal("Unexpected Exception", __FILE__, __LINE__); StackTrace::createSymtable(); std::string st((std::string)StackTrace()); @@ -119,7 +122,7 @@ namespace mrw { @code void terminate_log4cxx() { - log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("libmrw")); + log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger(_T("mrw.stacktrace"))); logger->fatal("Uncaught Exception", __FILE__, __LINE__); StackTrace::createSymtable(); std::string st((std::string)StackTrace()); @@ -142,7 +145,7 @@ namespace mrw { */ void terminate_log4cxx() { - log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("libmrw")); + log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger(_T("mrw.stacktrace"))); logger->fatal("Uncaught Exception", __FILE__, __LINE__); StackTrace::createSymtable(); std::string st((std::string)StackTrace());