]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/factories/states/node/class_NodeStateFactory.php
Rewritten remaining (old) debug calls:
[hub.git] / application / hub / main / factories / states / node / class_NodeStateFactory.php
index 5909cad06525e9b9ddbd07152ccd0f1be39faebb..223ff5dcc8d44f032eeac08fdfc3bc41bd774c1e 100644 (file)
@@ -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);