]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/pools/listener/class_DefaultListenerPool.php
Added line numbers to debug lines as this will become the 'norm'
[hub.git] / application / hub / main / pools / listener / class_DefaultListenerPool.php
index b5db596fe60fcb1a0e326301cbf52793c6ec2f75..c716b56bd868732fb62d64d1c260788329a27e3a 100644 (file)
@@ -61,7 +61,7 @@ class DefaultListenerPool extends BasePool implements PoolableListener {
 
                // Debug message
                self::createDebugInstance(__CLASS__)->debugOutput(
-                       'POOL: Listener ' . $listenerInstance->__toString() .
+                       'POOL[' . __LINE__ . ']: Listener ' . $listenerInstance->__toString() .
                        ' listening to ' . $listenerInstance->getListenAddress() . ':' .
                        $listenerInstance->getListenPort() . ' added to listener pool.'
                );
@@ -74,7 +74,7 @@ class DefaultListenerPool extends BasePool implements PoolableListener {
         */
        public function doShutdown () {
                // Debug message
-               self::createDebugInstance(__CLASS__)->debugOutput('POOL: Shutting down listener pool - START');
+               self::createDebugInstance(__CLASS__)->debugOutput('POOL[' . __LINE__ . ']: Shutting down listener pool - START');
 
                // Get a new visitor
                $visitorInstance = ObjectFactory::createObjectByConfiguredName('shutdown_listener_pool_visitor_class');
@@ -83,7 +83,7 @@ class DefaultListenerPool extends BasePool implements PoolableListener {
                $this->accept($visitorInstance);
 
                // Debug message
-               self::createDebugInstance(__CLASS__)->debugOutput('POOL: Shutting down listener pool - FINISHED');
+               self::createDebugInstance(__CLASS__)->debugOutput('POOL[' . __LINE__ . ']: Shutting down listener pool - FINISHED');
        }
 }