From: Roland Haeder Date: Sun, 27 Apr 2014 11:39:16 +0000 (+0200) Subject: Enhanced some log messages + commented one out. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a5e982675e00938789244960508370db312fc113;p=hub.git Enhanced some log messages + commented one out. Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/states/dht/active/class_DhtActiveState.php b/application/hub/main/states/dht/active/class_DhtActiveState.php index 4943777cb..2ad6200ce 100644 --- a/application/hub/main/states/dht/active/class_DhtActiveState.php +++ b/application/hub/main/states/dht/active/class_DhtActiveState.php @@ -46,7 +46,7 @@ class DhtActiveState extends BaseDhtState implements Stateable { $stateInstance = new DhtActiveState(); // Debug message - //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE: Has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); + //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE[' . __METHOD__ . ':' . __LINE__ . ']: Has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); // Set the dht instance $stateInstance->setDhtInstance($dhtInstance); diff --git a/application/hub/main/states/dht/booting/class_DhtBootingState.php b/application/hub/main/states/dht/booting/class_DhtBootingState.php index 2cec6825d..d7fe2cace 100644 --- a/application/hub/main/states/dht/booting/class_DhtBootingState.php +++ b/application/hub/main/states/dht/booting/class_DhtBootingState.php @@ -46,7 +46,7 @@ class DhtBootingState extends BaseDhtState implements Stateable { $stateInstance = new DhtBootingState(); // Debug message - /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE: Has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); + //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE[' . __METHOD__ . ':' . __LINE__ . ']: Has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); // Set the dht instance $stateInstance->setDhtInstance($dhtInstance); diff --git a/application/hub/main/states/dht/init/class_DhtInitState.php b/application/hub/main/states/dht/init/class_DhtInitState.php index f008a5a3f..a4eb1acab 100644 --- a/application/hub/main/states/dht/init/class_DhtInitState.php +++ b/application/hub/main/states/dht/init/class_DhtInitState.php @@ -46,7 +46,7 @@ class DhtInitState extends BaseDhtState implements Stateable { $stateInstance = new DhtInitState(); // Debug message - //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE: Has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); + //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE[' . __METHOD__ . ':' . __LINE__ . ']: Has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); // Set the dht instance $stateInstance->setDhtInstance($dhtInstance); diff --git a/application/hub/main/states/dht/virgin/class_DhtVirginState.php b/application/hub/main/states/dht/virgin/class_DhtVirginState.php index 3d42a391a..a7f0b951a 100644 --- a/application/hub/main/states/dht/virgin/class_DhtVirginState.php +++ b/application/hub/main/states/dht/virgin/class_DhtVirginState.php @@ -46,7 +46,7 @@ class DhtVirginState extends BaseDhtState implements Stateable { $stateInstance = new DhtVirginState(); // Debug message - //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE: Has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); + //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-STATE[' . __METHOD__ . ':' . __LINE__ . ']: Has changed from ' . $dhtInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.'); // Set the dht instance $stateInstance->setDhtInstance($dhtInstance);