X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fdebug%2Fclass_DebugConsoleOutput.php;h=285c955d2af6ec41ef33e4d7acc89b4d8a7cfe15;hb=82ef5059b3228c29f09c5a8f7719df6c4e0fd3ac;hp=a4e07bbe5669e59897af861f3904508b2341823c;hpb=b306775c8bca74cc966be6e31cc13ca688573193;p=core.git diff --git a/inc/classes/main/debug/class_DebugConsoleOutput.php b/inc/classes/main/debug/class_DebugConsoleOutput.php index a4e07bbe..285c955d 100644 --- a/inc/classes/main/debug/class_DebugConsoleOutput.php +++ b/inc/classes/main/debug/class_DebugConsoleOutput.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -99,12 +99,12 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output } /** - * "Getter" for seek position + * Determines seek position * * @return $seekPosition Current seek position * @throws UnsupportedOperationException If this method is called */ - public function getSeekPosition () { + public function determineSeekPosition () { throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION); } @@ -117,7 +117,7 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output * @throws UnsupportedOperationException If this method is called */ public function seek ($offset, $whence = SEEK_SET) { - self::createDebugInstance(__CLASS__)->debugOutput('offset=' . $offset . ',whence=' . $whence); + self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] offset=' . $offset . ',whence=' . $whence); throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION); }