Exemple #1
0
 public function __construct($scopeName, $flag)
 {
     $this->scopeName = $scopeName;
     if ($flag && ($this->outputEnabled = DynamicDebug::isEnabled($flag))) {
         error_log($this->getIndent() . self::$scopeEnterString . $scopeName);
         ++self::$indentationLevel;
     }
 }
Exemple #2
0
<?php

namespace Nklatt\DebugOut;

// this is for illustrative purposes
DynamicDebug::setEnabledFlags(array('HEADER', 'INDEX', 'NAV'));