otobank/monolog-console-processor

1.2.0 2018-07-25 11:09 UTC

This package is auto-updated.

Last update: 2024-10-29 04:53:09 UTC


README

Monolog Processor for Symfony console component.

Add extra data about console. (The current implementation is only command name)

Usage

Symfony

example) app/config/config.yml or app/config/services.yml

services:
    monolog.processor.console:
        class: Otobank\Monolog\Processor\ConsoleProcessor
        tags:
            - { name: monolog.processor }
            - { name: kernel.event_subscriber }

Installation

composer require otobank/monolog-console-processor

Author

Toshiyuki Fujita - tfujita@otobank.co.jp - https://github.com/kalibora

License

Licensed under the MIT License - see the LICENSE file for details

OTOBANK Inc.