2017 © Pedro Peláez
 

library custom_log

A Custom Log class built on Monolog's Logger.

image

fryiee/custom_log

A Custom Log class built on Monolog's Logger.

  • Thursday, September 7, 2017
  • by fryiee
  • Repository
  • 1 Watchers
  • 0 Stars
  • 49 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 69 % Grown

The README.md

custom_log Travis CI Build

A custom Log class based on Monolog's Logger., (*1)

Installation

composer require fryiee/custom_log, (*2)

Add LOG_PATH to your .env., (*3)

The package assumes the following:, (*4)

  • LOG_PATH=laravel will assume the same storage location as the Log facade using storage_path('logs')
  • LOG_PATH=some/path/ will use that path to store logs. e.g. ./custom_logs
  • LOG_PATH= will default to the packages' own location of fryiee/custom_log/logs

Adding LOG_DATE=true to your .env will allow your logs to be dated in the same way as core Laravel logs (Y-m-d format)., (*5)

Usage

use Fryiee\CustomLog\Log;

...

Log::info('name', 'message');

The logger uses the name to generate the log file. You can also use slashes to set a nested location:, (*6)

Log::info('nested/name', 'message'); // creates a file at logs/nested/name.log

The Versions

07/09 2017

dev-master

9999999-dev

A Custom Log class built on Monolog's Logger.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel logger monolog

07/09 2017

dev-dev

dev-dev

A Custom Log class built on Monolog's Logger.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel logger monolog

07/09 2017

0.1.5

0.1.5.0

A Custom Log class built on Monolog's Logger.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel logger monolog

07/09 2017

0.1.4

0.1.4.0

A Custom Log class built on Monolog's Logger.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel logger monolog

07/09 2017

0.1.3

0.1.3.0

A Custom Log class built on Monolog's Logger.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel logger monolog

07/09 2017

0.1.2

0.1.2.0

A Custom Log class built on Monolog's Logger.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel logger monolog

07/09 2017

0.1.1

0.1.1.0

A Custom Log class built on Monolog's Logger.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel logger monolog

07/09 2017

0.1.0

0.1.0.0

A Custom Log class built on Monolog's Logger.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel logger monolog