Laravel service provider for the Mobly Logger package
mobly/logger-laravel is a Laravel package for laravel service provider for the mobly logger package.
It currently has 0 GitHub stars and 702 downloads on Packagist (latest version 2.0.0).
Install it with composer require mobly/logger-laravel.
Discover more Laravel packages by mobly
or browse all Laravel packages to compare alternatives.
Last updated
A simple Laravel 5 service provider for including the Mobly Logger package in your Laravel project.
The Mobly Logger Service Provider can be installed via Composer running php composer.phar require mobly/logger-laravel:2.* or adding manually in your project's composer.json:
{
"require": {
"mobly/logger": "2.*"
}
}
Then run a composer update:
php composer.phar update
To use the Mobly Logger Service Provider you must register the provider when bootstrapping your Laravel application.
Find the providers key in you config/app.php and register the Mobly Logger Service Provider as below:
'providers' => [
// ...
Mobly\LoggerLaravel\LoggerServiceProvider::class,
]
Find the aliases key in you config/app.php and add the Mobly Logger facades:
'providers' => [
// ...
'MoblyLogger' => Mobly\LoggerLaravel\Facades\Logger::class,
]