X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fcore%2Foam%2FHandler.cpp;h=d711f83e4b69a34b62265e129e5a19a031779c7a;hb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4;hp=d6cdade91662b134220bd7112ae3020f8b1db6e9;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/source/core/oam/Handler.cpp b/source/core/oam/Handler.cpp index d6cdade..d711f83 100644 --- a/source/core/oam/Handler.cpp +++ b/source/core/oam/Handler.cpp @@ -54,7 +54,7 @@ const anna::oam::alarm_data_t *anna::oam::Handler::alarmEvent(const anna::oam::M static char cad_aux[1024]; vsprintf(cad_aux, alarm.c_str(), argList); - std::string trace = module->getClassName(); + std::string trace = module->getName(); trace += anna::functions::asString(" | Alarm %s event: %s", (activation ? "activation" : "cancellation"), cad_aux); trace += anna::functions::asString(" | Enum type on module: %d", type); @@ -93,7 +93,7 @@ const anna::oam::counter_data_t *anna::oam::Handler::counterEvent(const anna::oa LOGDEBUG ( - std::string trace = module->getClassName(); + std::string trace = module->getName(); trace += anna::functions::asString(" | Counter event: %s", base.c_str()); trace += anna::functions::asString(" | Enum type on module: %d", type); trace += anna::functions::asString(" | Amount increased: %d", amount);