]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/handler/message-types/self-connect/class_NodeMessageSelfConnectHandler.php
Improved many debug lines with method's name.
[hub.git] / application / hub / main / handler / message-types / self-connect / class_NodeMessageSelfConnectHandler.php
index 56bbc4d7e8977d91efd2108d927af4fa5d2b426f..635a77e4b0147e0736e6cc04a0d5d21e89093122 100644 (file)
@@ -59,7 +59,7 @@ class NodeMessageSelfConnectHandler extends BaseMessageHandler implements Handle
                // Are node id and session id the same?
                if (($messageData[XmlSelfConnectTemplateEngine::SELF_CONNECT_DATA_NODE_ID] == $this->getNodeId()) && ($messageData[XmlSelfConnectTemplateEngine::SELF_CONNECT_DATA_SESSION_ID] == $this->getSessionId())) {
                        // Both are equal
-                       self::createDebugInstance(__CLASS__)->debugOutput('SELF-CONNECT[' . __LINE__ . ']: Have connected to myself, both node and session id are equal!');
+                       self::createDebugInstance(__CLASS__)->debugOutput('SELF-CONNECT[' . __METHOD__ . ':' . __LINE__ . ']: Have connected to myself, both node and session id are equal!');
 
                        // Get node instance ...
                        $nodeInstance = Registry::getRegistry()->getInstance('node');