PHP code example of edujugon / laravel-log

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

    

edujugon / laravel-log example snippets


Edujugon\Log\Log object path($path)

Edujugon\Log\Log object level($level)

Edujugon\Log\Log object title($title)

Edujugon\Log\Log object line($line)

Edujugon\Log\Log object name($loggerName)

Edujugon\Log\Log object fileName($name)

Edujugon\Log\Log object days($days)

Edujugon\Log\Log object withoutDateTime()

Edujugon\Log\Log object withoutLoggerDetails()

boolean write()

'providers' => array(
        ...
        Edujugon\Log\Providers\LogServiceProvider::class
    )

php artisan vendor:publish --provider="Edujugon\Log\Providers\LogServiceProvider" --tag="config"