Example #1
0
 /**
  * ends current open step is one is open
  */
 public static function end_step()
 {
     ALogger::end_action();
     if (self::$debug) {
         if (self::$lastStep) {
             echo self::color(self::$step_color, strtoupper(self::$step_separator . '[ END ] ' . self::$lastStep . ';')) . "\n\n";
             self::$lastStep = '';
             return true;
         } else {
             return false;
         }
     }
 }