log to console laravel 8 code example Example: laravel log to console error_log('Some message here.');