PHPackages                             juhara/zzzlogger - 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. juhara/zzzlogger

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

juhara/zzzlogger
================

PSR-3 LoggerInterface implementation collection

v1.0.1(7y ago)113Apache-2.0PHPPHP &gt;=5.3

Since Aug 26Pushed 7y ago1 watchersCompare

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

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

ZzzLogger
=========

[](#zzzlogger)

Collection of PSR-3 LoggerInterface implementation.

Requirement
===========

[](#requirement)

- [PHP &gt;= 5.3](https://php.net)
- [PSR-3 LoggerInterface](https://www.php-fig.org/psr/psr-3/)
- [Composer](https://getcomposer.org)

Installation
============

[](#installation)

Run through composer

```
$ composer require juhara/zzzlogger

```

Available LoggerInterface implementation
========================================

[](#available-loggerinterface-implementation)

- `TeeLogger` [LoggerInterface](https://www.php-fig.org/psr/psr-3/#3-psrlogloggerinterface) implementation that duplicate log to two other loggers.
- `ManyLogger` [LoggerInterface](https://www.php-fig.org/psr/psr-3/#3-psrlogloggerinterface) implementation that duplicate log to many loggers.

How to use
==========

[](#how-to-use)

TeeLogger class
---------------

[](#teelogger-class)

Combine two different loggers as one logger. For example using [Monolog](https://github.com/Seldaek/monolog) to log to file and [PHP Debug bar](https://github.com/maximebf/php-debugbar) to log to html page.

```
