]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/factories/states/state/class_DhtStateFactory.php
Improved many debug lines with method's name.
[hub.git] / application / hub / main / factories / states / state / class_DhtStateFactory.php
index 086a974d302927b3c64f0298eecc04ec690725de..4685dc84f052728345609db51e5ebea9e565d37e 100644 (file)
@@ -48,7 +48,7 @@ class DhtStateFactory extends ObjectFactory {
                $stateInstance = self::createObjectByConfiguredName($className, array($dhtInstance));
 
                // Debug message
-               self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE-FACTORY[' . __LINE__ . ']: DHT state has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.');
+               self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE-FACTORY[' . __METHOD__ . ':' . __LINE__ . ']: DHT state has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.');
 
                // Once we have that state, set it in the DHT instance
                $dhtInstance->setStateInstance($stateInstance);