2017 © Pedro Peláez
 

library laravel-logger

ChannelLog: Custom logger to laravel

image

josrom/laravel-logger

ChannelLog: Custom logger to laravel

  • Monday, April 9, 2018
  • by Josrom
  • Repository
  • 1 Watchers
  • 0 Stars
  • 180 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 16 % Grown

The README.md

Laravel 5.x ChannelLog

Total Downloads Latest Stable Version License , (*1)

Introduction

ChannelLog provides a feature to log in different files., (*2)

Installation

To get the last version of ChannelLog, simply require the project using Composer:, (*3)

composer require josrom/laravel-logger

Instead, you may of course manually update your require block and run composer update if you so choose:, (*4)

{
    "require": {
        "josrom/laravel-logger": "0.1.*"
    }
}

Add the service provider and alias to config/app.php file:, (*5)

'providers' => [
    // Other Service Providers

    Laravel\ChannelLog\ChannelLogServiceProvider::class,
],

'aliases' => [
    // Other Alias

    'ChannelLog' => \Laravel\ChannelLog\ChannelLog::class,
],

After to set up the provider, copy the default config file from the package using the vendor:publish artisan command:, (*6)

php artisan vendor:publish --provider="Laravel\ChannelLog\ChannelLogServiceProvider"

Usage

Edit the config to add new logs, channels and extras:, (*7)

    'error' => [
        'path' => 'logs/laravel-error.log',
        'level' => \Monolog\Logger::ERROR,
    ],
    'info' => [
        'path' => 'logs/laravel-info.log',
        'level' => \Monolog\Logger::INFO,
        'extras' => ['internet-provider'],
    ],

Extras availables

  • Internet provider: internet-provider

The Versions

09/04 2018

dev-master

9999999-dev

ChannelLog: Custom logger to laravel

  Sources   Download

MIT

The Requires

 

by Jose Vicente

laravel logging

09/04 2018

0.1.2

0.1.2.0

ChannelLog: Custom logger to laravel

  Sources   Download

MIT

The Requires

 

by Jose Vicente

laravel logging

29/11 2017

0.1.1

0.1.1.0

ChannelLog: Custom logger to laravel

  Sources   Download

MIT

The Requires

 

by Jose Vicente

laravel logging

29/11 2017

dev-laravel-5

dev-laravel-5

ChannelLog: Custom logger to laravel

  Sources   Download

MIT

The Requires

 

by Jose Vicente

laravel logging

20/07 2017

0.1.0

0.1.0.0

ChannelLog: Custom logger to laravel

  Sources   Download

MIT

The Requires

 

by Jose Vicente

laravel logging

20/07 2017

0.0.6

0.0.6.0

Custom logger to laravel

  Sources   Download

The Requires

 

by Jose Vicente

20/07 2017

0.0.5

0.0.5.0

Custom logger to laravel

  Sources   Download

The Requires

 

by Jose Vicente

20/07 2017

0.0.4

0.0.4.0

Custom logger to laravel

  Sources   Download

The Requires

 

by Jose Vicente

20/07 2017

0.0.3

0.0.3.0

Custom logger to laravel

  Sources   Download

The Requires

 

by Jose Vicente

20/07 2017

0.0.2

0.0.2.0

Custom logger to laravel

  Sources   Download

The Requires

 

by Jose Vicente

20/07 2017

0.0.1

0.0.1.0

Custom logger to laravel

  Sources   Download

The Requires

 

by Jose Vicente