PHPackages                             luongtran/monolog - 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. luongtran/monolog

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

luongtran/monolog
=================

Sends your logs to files, sockets, inboxes, databases and various web services

v2.2.0(2y ago)010MITPHPPHP &gt;=7.2

Since Sep 23Pushed 2y agoCompare

[ Source](https://github.com/luongtran/monolog)[ Packagist](https://packagist.org/packages/luongtran/monolog)[ Docs](https://github.com/luongtran/monolog)[ GitHub Sponsors](https://github.com/Seldaek)[ Fund](https://tidelift.com/funding/github/packagist/monolog/monolog)[ RSS](/packages/luongtran-monolog/feed)WikiDiscussions main Synced 1mo ago

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

Monolog - Logging for PHP [![Continuous Integration](https://github.com/Seldaek/monolog/workflows/Continuous%20Integration/badge.svg?branch=main)](https://github.com/Seldaek/monolog/actions)
==============================================================================================================================================================================================

[](#monolog---logging-for-php-)

[![Total Downloads](https://camo.githubusercontent.com/9334f37bf51b7476f861c5ea51c8f3252d368838b400e1a52a4f5a11d5380bbe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f6e6f6c6f672f6d6f6e6f6c6f672e737667)](https://packagist.org/packages/monolog/monolog)[![Latest Stable Version](https://camo.githubusercontent.com/49f6a9be26e072dbd0b5519e11de10b2ec14b49ad72e97d729241aa4badb39c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f6e6f6c6f672f6d6f6e6f6c6f672e737667)](https://packagist.org/packages/monolog/monolog)

Monolog sends your logs to files, sockets, inboxes, databases and various web services. See the complete list of handlers below. Special handlers allow you to build advanced logging strategies.

This library implements the [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)interface that you can type-hint against in your own libraries to keep a maximum of interoperability. You can also use it in your applications to make sure you can always use another compatible logger at a later time. As of 1.11.0 Monolog public APIs will also accept PSR-3 log levels. Internally Monolog still uses its own level scheme since it predates PSR-3.

Installation
------------

[](#installation)

Install the latest version with

```
$ composer require monolog/monolog
```

Basic Usage
-----------

[](#basic-usage)

```
