/Musil

Just a simple logger

Primary LanguagePHPMIT LicenseMIT

Musil

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)]);