mont4/micro-service-logger

v1.2.2 2020-05-29 19:19 UTC

This package is auto-updated.

Last update: 2024-04-29 04:20:19 UTC


README

Build Status styleci Coverage Status

Packagist Packagist Packagist

Installation

Install via composer

composer require mont4/micro-service-logger

Add blew codes to config/logging.php

<?php

...

return [

    ...

    'channels' => [
        ...

        'MicroServiceLogger' => [
            'driver'  => 'monolog',
            'handler' => Mont4\MicroServiceLogger\LogHandler::class,
            'tap'     => [
                'Mont4\MicroServiceLogger\Formatter\CustomizeFormatter'
            ],
        ]
    ]
];

Publish Configuration File

php artisan vendor:publish --provider="Mont4\MicroServiceLogger\ServiceProvider" --tag="config"

Usage

CHANGE ME

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits

This package is bootstrapped with the help of melihovv/laravel-package-generator.