now naming for the logger: "mrw.stacktrace" instead of simply "libmrw"

master
Marc Wäckerlin 20 years ago
parent 9651f959a7
commit 5591d50651
  1. 11
      mrw/autostacktracelog4cxx.cpp

@ -9,6 +9,9 @@
@license LGPL, see file <a href="license.html">COPYING</a>
$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());

Loading…
Cancel
Save