]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/factories/states/miner/class_MinerStateFactory.php
Continued:
[hub.git] / application / hub / main / factories / states / miner / class_MinerStateFactory.php
index 5120f3da1d0104731ca935cd1464764ab52ad5ee..b947915c54868e0addfeadc6093c884783ceebde 100644 (file)
@@ -47,6 +47,9 @@ class MinerStateFactory extends ObjectFactory {
                // Get a class from that configuration entry
                $stateInstance = self::createObjectByConfiguredName($className, array($minerInstance));
 
+               // Debug message
+               self::createDebugInstance(__CLASS__)->debugOutput('MINER-STATE-FACTORY[' . __METHOD__ . ':' . __LINE__ . ']: Miner state has changed from ' . $minerInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.');
+
                // Once we have that state, set it in the miner instance
                $minerInstance->setStateInstance($stateInstance);