From: Roland Häder <roland@mxchange.org>
Date: Sat, 20 May 2017 19:00:43 +0000 (+0200)
Subject: other way and don't log __METHOD__ anymore
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa76ddf7f1d5d302f1d752efcd113515ecf152a2;p=core.git

other way and don't log __METHOD__ anymore

Signed-off-by: Roland Häder <roland@mxchange.org>
---

diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php
index 8a05df92..350c97fa 100644
--- a/framework/main/classes/class_BaseFrameworkSystem.php
+++ b/framework/main/classes/class_BaseFrameworkSystem.php
@@ -494,8 +494,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
 			$this->setRealClass('DestructedObject');
 		} elseif ((defined('DEBUG_DESTRUCTOR')) && (is_object($this->getDebugInstance()))) {
 			// Already destructed object
-			self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('[%s:] The object <span class="object_name">%s</span> is already destroyed.',
-				__CLASS__,
+			self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('The object <span class="object_name">%s</span> is already destroyed.',
 				$this->__toString()
 			));
 		} else {
@@ -587,7 +586,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
 
 		// Output stub message
 		// @TODO __CLASS__ does always return BaseFrameworkSystem but not the extending (=child) class
-		self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('[unknown::%s:] Stub! Args: %s',
+		self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('[unknown::%s]: Stub! Args: %s',
 			$methodName,
 			$argsString
 		));
@@ -1811,7 +1810,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
 		} // END - if
 
 		// Construct the full message
-		$stubMessage = sprintf('[%s:] Partial stub!',
+		$stubMessage = sprintf('[%s]: Partial stub!',
 			$methodName
 		);