PHPackages                             guidofaecke/monolog-stdout-handler - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. guidofaecke/monolog-stdout-handler

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

guidofaecke/monolog-stdout-handler
==================================

A handler for Monolog that sends messages to stdout (with color).

2.1.0(4y ago)0909GPL-3.0+PHPPHP ^7.4 || ~8.0.0

Since Oct 25Pushed 4y agoCompare

[ Source](https://github.com/guidofaecke/package-monolog-stdouthandler)[ Packagist](https://packagist.org/packages/guidofaecke/monolog-stdout-handler)[ Docs](https://bitbucket.org/maxime-pasquier/package-monolog-stdouthandler)[ RSS](/packages/guidofaecke-monolog-stdout-handler/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (12)Used By (0)

Monolog Stdout Handler
======================

[](#monolog-stdout-handler)

[![Latest Stable Version](https://camo.githubusercontent.com/85f8fa4abb9ce4be5c3ad48d92b0d9fc95e2b7e9d972b8e8788e2675e97b5314/68747470733a2f2f706f7365722e707567782e6f72672f6d6178696d652d70617371756965722f6d6f6e6f6c6f672d7374646f75742d68616e646c65722f762f737461626c652e706e67)](https://packagist.org/packages/maxime-pasquier/monolog-stdout-handler)[![Build Status](https://camo.githubusercontent.com/3d380c220f33936811b96c0258bf11b4723ae6b0392ac670f5ffb42c4ced78de/68747470733a2f2f7472617669732d63692e6f72672f6d6178696d652d70617371756965722f6d6f6e6f6c6f672d7374646f75742d68616e646c65722e737667)](https://travis-ci.org/maxime-pasquier/monolog-stdout-handler)

Provides a handler for [Monolog](https://github.com/Seldaek/monolog) that sends colored messages to stdout. Messages may be uncolored with a provided formatter.

Loggers are able to interprete a balise language (like bbcode) Balises currently recognized are :

- `[c=]...[/c]` with color: `black`, `blue`, `green`, `cyan`, `red`, `purple`, `yellow`, `white`

Example
-------

[](#example)

How to use the stdout handler:

```
