Rewrote core:
[core.git] / inc / classes / main / debug / class_DebugConsoleOutput.php
index 16e8dfa80435ad8ec351be442f000f655b5d5706..ed74c51394d52f67270e3d6cfda34e431d75fb51 100644 (file)
@@ -94,7 +94,7 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function streamData ($data) {
-               $this->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+               self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 }