superbrave/logger-bundle

A Symfony bundle to log messages to logging providers. Such as Sentry.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 3

Type:symfony-bundle

v0.1-alpha 2020-01-15 14:43 UTC

README

A Symfony bundle to log messages to logging providers. Such as Sentry.

Overview

  • Provides a logger that can send messages to Sentry with a variety of severity levels.

Setup

Installation

Using this package is similar to all Symfony bundles.

Step 1.

Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:

$ composer require superbrave/logger-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2.

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Superbrave\LoggerBundle\SuperbraveLoggerBundle(),
        );
        // ...
    }
    // ...
}

License

This bundle is under the MIT license. See the complete license in the bundle