PHP code example of underwear / laravel-myteam-logging

1. Go to this page and download the library: Download underwear/laravel-myteam-logging 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/ */

    

underwear / laravel-myteam-logging example snippets


'myteam' => [
    'driver' => 'custom',
    'via'    => MyteamLogger\MyteamLogger::class,
    'level'  => 'debug',
]

'stack' => [
    'driver' => 'stack',
    'channels' => ['single', 'myteam'],
]

LOG_CHANNEL=myteam

php artisan vendor:publish --provider "MyteamLogger\MyteamLoggerServiceProvider"