test_log()

Description

Debug logs for ResourceSpace automated tests

Parameters

ColumnTypeDefaultDescription
$msg: string

Location

include/test_functions.php lines 160 to 167

Definition

 
function test_log(string $msg): void
{
    if (!
RS_TEST_DEBUG) {
        return;
    }

    echo 
PHP_EOL $msg;
}

This article was last updated 6th June 2025 13:35 Europe/London time based on the source file dated 17th January 2025 17:40 Europe/London time.