Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel custom log

use IlluminateSupportFacadesLog;
 
Log::build([
  'driver' => 'single',
  'path' => storage_path('logs/custom.log'),
])->info('Something happened!');
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #custom #log
ADD COMMENT
Topic
Name
5+5 =