13 lines
306 B
PHP
13 lines
306 B
PHP
<?php
|
|
|
|
|
|
class TestUtils{
|
|
public static $log = [];
|
|
public static $status;
|
|
public static function log($output, $status = "OK"){
|
|
array_push(self::log, ["message" => $output, "status" => $status]);
|
|
}
|
|
public static function returnLog(){
|
|
echo(json_encode(self::$log));
|
|
}
|
|
} |