drinks-it/sf-consumer-logger-bundle

Formatter logs for consumers start/run/stop events

Installs: 1 225

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

0.0.2 2023-11-07 15:37 UTC

This package is auto-updated.

Last update: 2024-11-07 17:47:54 UTC


README

1. Install

compsoer require drinks-it/sf-consumer-logger-bundle

Configuration

# config/packages/sf_consumer_logger.yaml

sf_consumer_logger:
    on_start: info
    on_start_message: 'Consumer started'
    on_running: null # off logs when consumer running
    on_running_message: 'Consumer running'
    on_stop: info
    on_stop_message: 'Consumer stopped'