2014-01-06 19:19:17 +00:00
|
|
|
#include "se/ReceiveSE.hpp"
|
|
|
|
|
|
|
|
#include "common/StringUtils.hpp"
|
|
|
|
|
|
|
|
Logger* ReceiveSE::maintLogger;
|
|
|
|
Logger* ReceiveSE::supportLogger;
|
|
|
|
Logger* ReceiveSE::userLogger;
|
|
|
|
Logger* ReceiveSE::debugLogger;
|
|
|
|
|
|
|
|
void ReceiveSE::init()
|
|
|
|
{
|
2014-01-21 23:01:41 +00:00
|
|
|
std::string pname = "biz.meansofproduction.dnseppus.se";
|
2014-01-06 19:19:17 +00:00
|
|
|
maintLogger = Logger::getLogger(pname + ".maint");
|
|
|
|
supportLogger = Logger::getLogger(pname + ".support");
|
|
|
|
userLogger = Logger::getLogger(pname + ".user");
|
|
|
|
debugLogger = Logger::getLogger(pname + ".debug");
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string ReceiveSE::replaceIndex (const std::string & inputExpr, int index)
|
|
|
|
{
|
|
|
|
return StringUtils::replaceAll (inputExpr,
|
|
|
|
"IDX",
|
|
|
|
StringUtils::makeString(index));
|
|
|
|
}
|