andersao / laravel-request-logger

HTTP request logger middleware for Laravel
http://andersao.github.io/laravel-request-logger
242 stars 57 forks source link

Compatibility with Laravel 5.6 #30

Open ldanielduarte opened 6 years ago

ldanielduarte commented 6 years ago

Hello is it possible to make a change to add compatibility with Laravel 5.6?

From what I've understood it would be a simple change:

in the file src/Prettus/RequestLogger/Logger.php, line 5 change "use Illuminate\Contracts\Logging\Log;" to "use Psr\Log\LoggerInterface as Log;" and after add the missing method from the abstract class.

Thank you for your availability.

Cheers.