Skip to content

This package override the Log facade to push your log on logentries

Notifications You must be signed in to change notification settings

Distilleries/Logentries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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');