pep/logger

1.0 2015-01-20 11:13 UTC

This package is not auto-updated.

Last update: 2024-11-09 17:09:08 UTC


README

Laravel multilogger component, to make logging to different files easy.

Installation:

composer require pep/logger;
php artisan config:publish pep/logger;

Afterwards add a path to where you want your different logfiles in the package config.

Usage:

Logger::warning('{file-namespace}', '{message}', [{context}]);

The following functions are available:

::debug
::info
::warning
::error
::critical
::alert
::emergency