activity log spatie

PHP
activity()->log('Look mum, I logged something');
Source

Also in PHP: