Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel log build custom channel

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