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