PHPackages                             m1lt0n/dialog - 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. m1lt0n/dialog

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

m1lt0n/dialog
=============

Logging library for PHP 5.4+

0.5.0(10y ago)2151MITPHPPHP &gt;=5.4.0

Since Aug 20Pushed 10y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (8)Used By (0)

Dialog
======

[](#dialog)

A PSR-3 compliant logger

[![Build Status](https://camo.githubusercontent.com/d1a82d39fb57432a1ba4b314455d7e433f7fe8c4e0f6f9930f4c23eba7a4b9cd/68747470733a2f2f7472617669732d63692e6f72672f6d316c74306e2f6469616c6f672e737667)](https://travis-ci.org/m1lt0n/dialog)

Dialog is a simple and very extensible PSR-3 compliant logger. It is modular and allows for multiple log handlers per logger instance. This allows for simultaneous logging in files, displaying on screen, writing in a database etc!

Also, its flexible structure Handlers accepting formatters, too, allow formatting the log message lines however you want to.

Finally, even the "template" engine that follows the PSR-3 guidelines (i.e. "this is the {amount}" can be changed (of course, the logger created with a custom engine won't be PSR-3 compliant).

### Εxample

[](#εxample)

```
