New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

majesko/logger

Extended laravel logger with pseudo channels that are based on monolog handlers
2,434
Install
composer require majesko/logger
Latest Version:2.0.0
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Jul 17, 2017
Links: GitHub  ·  Packagist
Maintainer: Majesko

Library for organization pseudo logging channels in laravel 5.1+ applications

Installation steps

  1. Add to composer required section "majesko/logger": "1.0.*"
  2. Add LoggerServiceProvider into service provider section of app.php
  3. Publish config file with command php artisan vendor:publish --tag="logger"
  4. Uncomment or needed channels in logger.php

Useful parameters

"app_tag" is used to tag source of logs, for example in elasticsearch

"global" uses to mark application-wide log channels

##Handler variants:

"StreamWrapper" is for single file logs

"RotatingFileWrapper" is for per-day logs, so you need to configure rotation options

Formatters

Logger use plain monolog formatters

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

651,963,193 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

407,699,310 4,663

Version History

Version Released PHP Laravel License
2.0.0 >=5.5.9 5.* MIT
1.0.6 >=5.5.9 5.* MIT
1.0.5 >=5.5.9 5.*.* MIT
1.0.4 >=5.5.9 5.*.* MIT
1.0.3 >=5.5.9 5.*.* MIT