Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel logger

use MonologLogger;

$orderLog = new Logger('order');
$orderLog->pushHandler(new StreamHandler(storage_path('logs/mylogs.log')), Logger::INFO);
$orderLog->info("Order id: ${orderId}");
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #logger
ADD COMMENT
Topic
Name
4+8 =