From a5e982675e00938789244960508370db312fc113 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 27 Apr 2014 13:39:16 +0200 Subject: [PATCH] Enhanced some log messages + commented one out. Signed-off-by: Roland Haeder --- application/hub/main/states/dht/active/class_DhtActiveState.php | 2 +- .../hub/main/states/dht/booting/class_DhtBootingState.php | 2 +- application/hub/main/states/dht/init/class_DhtInitState.php | 2 +- application/hub/main/states/dht/virgin/class_DhtVirginState.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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); -- 2.39.5