aqlx86 / musil
Just a simple logger
dev-master
2018-04-16 09:01 UTC
Requires
- php: >=5.5.9
- monolog/monolog: ^1.23
- predis/predis: ^1.1
This package is auto-updated.
Last update: 2024-10-29 04:42:11 UTC
README
Simple logger for laravel that writes logs into elasticsearch.
Installation
Add Musil to your composer.json file:
composer.phar require "aqlx86/musil"
Add the service provider to your Laravel application config:
Musil\MusilServiceProvider::class
php artisan vendor:publish --provider="Musil\MusilServiceProvider"
Usage
musil()->info('this is an info log'); musil()->debug('2 + 2 is %sum%', ['sum' => (2 + 2)]);