Logger::log()
Create log in Kirby’s log directory
Logger::log(array|string|int $content, $level = 'info'): void
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$content |
array or string or int |
- |
|
$level |
mixed |
'info' |
Should be one of the eight RFC 5424 levels (debug, info, notice, warning, error, critical, alert, emergency) |
Return type
void