PHP code example of karlomikus / multilog
1. Go to this page and download the library: Download karlomikus/multilog 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/ */
karlomikus / multilog example snippets
php
// Service provider
Karlomikus\Multilog\MultilogServiceProvider::class
// Facade (optional)
'Multilog' => Karlomikus\Multilog\Facade::class
bash
$ php artisan vendor:publish
php
use Karlomikus\Multilog\Contracts\MultilogInterface;
private $multilog;
public function __construct(MultilogInterface $multilog)
{
$this->multilog = $multilog;
$this->multilog->channel('request')->error('Error here...');
}