toolkit

Log

Writes to the PHP error log - stderr under php-fpm, so it lands in the container logs.

Log:: Phlat\Toolkit\Log 1 methods
  • error Writes a message or exception to the error log.

Methods

Log::error(Throwable|string $message): void

Writes a message or exception to the error log.

Parameters (1)
$message Throwable|string
phlat/src/Toolkit/Log.php:15