Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aqlx86/musil
Just a simple logger
https://github.com/aqlx86/musil
elasticsearch laravel5 logger
Last synced: about 2 months ago
JSON representation
Just a simple logger
- Host: GitHub
- URL: https://github.com/aqlx86/musil
- Owner: aqlx86
- License: mit
- Created: 2018-04-02T02:53:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-16T09:06:11.000Z (almost 7 years ago)
- Last Synced: 2024-12-02T03:41:41.112Z (about 2 months ago)
- Topics: elasticsearch, laravel5, logger
- Language: PHP
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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:
```PHP
Musil\MusilServiceProvider::class
``````
php artisan vendor:publish --provider="Musil\MusilServiceProvider"
```Usage
-----```PHP
musil()->info('this is an info log');
musil()->debug('2 + 2 is %sum%', ['sum' => (2 + 2)]);
```