X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Ffactories%2Fstates%2Fnode%2Fclass_NodeStateFactory.php;fp=application%2Fhub%2Fmain%2Ffactories%2Fstates%2Fnode%2Fclass_NodeStateFactory.php;h=223ff5dcc8d44f032eeac08fdfc3bc41bd774c1e;hb=c31b80e209f75b80939ba161ffcb5450623d78a7;hp=5909cad06525e9b9ddbd07152ccd0f1be39faebb;hpb=38c5aa4b0526ce3998c52e905afd5150d57fc5b3;p=hub.git diff --git a/application/hub/main/factories/states/node/class_NodeStateFactory.php b/application/hub/main/factories/states/node/class_NodeStateFactory.php index 5909cad06..223ff5dcc 100644 --- a/application/hub/main/factories/states/node/class_NodeStateFactory.php +++ b/application/hub/main/factories/states/node/class_NodeStateFactory.php @@ -48,7 +48,7 @@ class NodeStateFactory extends ObjectFactory { $stateInstance = self::createObjectByConfiguredName($className, array($nodeInstance)); // Debug message - $stateInstance->debugOutput('NODE-STATE-FACTORY[' . __LINE__ . ']: Node state has changed from ' . $nodeInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); + self::createDebugInstance(__CLASS__)->debugOutput('NODE-STATE-FACTORY[' . __LINE__ . ']: Node state has changed from ' . $nodeInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); // Once we have that state, set it in the node instance $nodeInstance->setStateInstance($stateInstance);