// 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);