PHPackages                             phpointless/monolol - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpointless/monolol

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpointless/monolol
===================

PSR-3 compliant lol-gger

1.2.0(10y ago)93939[9 issues](https://github.com/PHPointless/monolol/issues)MITPHP

Since Mar 4Pushed 9y ago6 watchersCompare

[ Source](https://github.com/PHPointless/monolol)[ Packagist](https://packagist.org/packages/phpointless/monolol)[ RSS](/packages/phpointless-monolol/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Monolol
=======

[](#monolol)

PSR-3 compliant lol-gger

QA
--

[](#qa)

[![SensioLabsInsight](https://camo.githubusercontent.com/d8dddcb04a28404f5dd25659da4da6e022058f80c4aaf2f74e29f60b168491ca/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64626562303233362d323161332d343962652d396565332d3135383562653665313037332f6269672e706e67)](https://insight.sensiolabs.com/projects/dbeb0236-21a3-49be-9ee3-1585be6e1073)

[![Build Status](https://camo.githubusercontent.com/ff8cc5445e6d4533f0aaf6c3054e5a270ac78b94947bfb7ad262cee2d278a6b2/68747470733a2f2f7472617669732d63692e6f72672f5048506f696e746c6573732f6d6f6e6f6c6f6c2e737667)](https://travis-ci.org/PHPointless/monolol)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/24b1e34c59c85729e13d7b7301588dc12c23441dd721741d55eb3d2574246701/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5048506f696e746c6573732f6d6f6e6f6c6f6c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/PHPointless/monolol/?branch=master)[![Scrutinizer Code Coverage](https://camo.githubusercontent.com/17e1759f0dc3bb1237c29bcab9e3188deb791cd6aec7c94c323e7150b68c8005/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5048506f696e746c6573732f6d6f6e6f6c6f6c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/PHPointless/monolol/?branch=master)

INSTALLATION
------------

[](#installation)

Use composer:

```
composer require PHPointless/monolol
```

HOW TO USE IT
-------------

[](#how-to-use-it)

Monolol provides a new wrapper handler for Monolog: LolHandler. LolHandler will apply a Lolifier that will do some stuff on records handled by the wrapped handler.

For example, we want to randomly shuffle the log message words of all records that will be handled by a Monolog StreamHandler. Here is code that will do the trick:

```
