This commit is contained in:
parent
5a56abf92a
commit
b4262fe521
@ -5,7 +5,8 @@ class TestUtils{
|
|||||||
public static $log = [];
|
public static $log = [];
|
||||||
public static $status;
|
public static $status;
|
||||||
public static function log($output, $status = "OK"){
|
public static function log($output, $status = "OK"){
|
||||||
array_push(self::log, array("message" => $output, "status" => $status));
|
$logout = array("message" => $output, "status" => $status);
|
||||||
|
array_push(self::log, $logout);
|
||||||
}
|
}
|
||||||
public static function returnLog(){
|
public static function returnLog(){
|
||||||
echo(json_encode(self::$log));
|
echo(json_encode(self::$log));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user