Something went wrong on our end
-
Matthias Steinke authored19bd5fb7
ErrLoggerTestApp.cc 494 B
#include "ErrLogger/ErrLogger.hh"
int main(int argc, char* argv[])
{
ErrLogger::instance()->setLevel(log4cpp::Priority::DEBUG);
DebugMsg << "Debug Message";
Info << "An Info";
Warning << "A Warning";
ErrMsg << "Error Message";
Alert << "A Fatal Error";
ErrLogger::instance()->setLevel(log4cpp::Priority::ERROR);
DebugMsg << "2nd Debug Message";
Info << "2nd Info";
Warning << "2nd Warning";
ErrMsg << "2nd Error Message";
Alert << "2nd Fatal Error";
return 0;
}