This commit is contained in:
parent
c0d658ee1b
commit
5a56abf92a
@ -5,7 +5,7 @@ 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, ["message" => $output, "status" => $status]);
|
array_push(self::log, array("message" => $output, "status" => $status));
|
||||||
}
|
}
|
||||||
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