Save to the modules log
Usage
// basic usage
$wireLog = $modulesClass->log(string $str);
// usage with all arguments
$wireLog = $modulesClass->log(string $str, $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
str (optional) | string | Message to log |
options (optional) | array, string | Specify module name (string) or options array |
Return value
ModulesClass methods and properties
API reference based on ProcessWire core version 3.0.236