Function Hook_Health_Check->log
Definitions
sources/health_check.php
- Add something to the health check log for the current test. Will automatically prepend the category and section.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $contents | string | No | No | required parameter | N/A | N/A | The text to add to the log |
Preview
Code (PHP)
/**
* Add something to the health check log for the current test. Will automatically prepend the category and section.
*
* @param string $contents The text to add to the log
*/
protected function log(string $contents)
* Add something to the health check log for the current test. Will automatically prepend the category and section.
*
* @param string $contents The text to add to the log
*/
protected function log(string $contents)

