]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/main/debug/class_DebugWebOutput.php
Code syncronized with shipsimu code base
[mailer.git] / inc / classes / main / debug / class_DebugWebOutput.php
index 81dd64dc9a21fec6ce1fe77282ac9bc7cc6e359d..268738a7a1ef4928ffc148f0eab7aaa42233a631 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -30,12 +30,6 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Debug output for webpages");
-
-               // Create an unique ID
-               $this->generateUniqueId();
        }
 
        /**
@@ -58,7 +52,9 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre
         * @return      void
         */
        public final function outputStream ($output) {
-               trigger_error($output);
+               // Strip out <br />
+               $output = str_replace("<br />", "", $output);
+               print($output."<br />\n");
        }
 
        /**