PHP code example of dtvmedia / laravel-log-tracer
1. Go to this page and download the library: Download dtvmedia/laravel-log-tracer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dtvmedia / laravel-log-tracer example snippets
return [
/*
|--------------------------------------------------------------------------
| Format string for the log messages
|--------------------------------------------------------------------------
|
| Available placeholder:
| - {{class_basename}}
| - {{method}}
| - {{file}}
| - {{line}}
| - {{message}}
|
*/
'format' => '[{{class_basename}}::{{method}}] {{message}}',
/*
|--------------------------------------------------------------------------
| Ignore Exceptions
|--------------------------------------------------------------------------
|
| This option determines whether detected exceptions should be ignored
| for further processing. When set to true, any log message identified as
| an exception will not
bash
php artisan vendor:publish --tag="laravel-log-tracer-config"