Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel log build

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
ADD COMMENT
Topic
Name
8+1 =