I want to log from within a Laravel blade template. Can I log something using the Laravel logger, or a simple syslog(1, 'my message')
would even be better.
All tips are welcome!
I want to log from within a Laravel blade template. Can I log something using the Laravel logger, or a simple syslog(1, 'my message')
would even be better.
All tips are welcome!
You can use logger in blade
{{ logger('Test') }}