distilleries/logentries

1.3.0 2016-12-29 13:03 UTC

This package is auto-updated.

Last update: 2024-10-23 07:17:59 UTC


README

Scrutinizer Code Quality Code Coverage Build Status Total Downloads Latest Stable Version License

Laravel 5 Logentries integration

This package override the Log facade to push your log on LogEntries (https://logentries.com/).

Table of contents

  1. Installation

  2. Basic usage

Installation

Add on your composer.json

    "require": {
        "distilleries/logentries": "1.2.*",
    }

run composer update.

Add Service provider to config/app.php:

    'providers' => [
    	// ...
        Distilleries\Logentries\LogentriesServiceProvider::class,
    ]

If you want to export the configuration:

php artisan vendor:publish --provider="Distilleries\Logentries\LogentriesServiceProvider"

Basic usage

First of all you need to create an account on https://logentries.com/ After that you just have to put on your .env a token key :

LOG_ENTRIES_TOKEN=c0d59aa1-********

This package override the Log facade. Basicly if you have already use Log it's exacly the same. If you never use Log from laravel go to the official documentation https://laravel.com/docs/5.3/errors

\Log::info('Here');