PHPackages                             kod/logger - 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. kod/logger

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

kod/logger
==========

Psr 3 logger implementation

1.0.0(7y ago)1301MITPHPPHP ^7.1

Since Nov 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kderyabin/logger)[ Packagist](https://packagist.org/packages/kod/logger)[ RSS](/packages/kod-logger/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (3)Used By (1)

PSR 3 Logger
============

[](#psr-3-logger)

[![Build Status](https://camo.githubusercontent.com/2536895248574beb5dd32c7f71d0a47c3bc8b941a6f31f2317f04c5d2f617ce6/68747470733a2f2f7472617669732d63692e6f72672f6b646572796162696e2f6c6f676765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kderyabin/logger)

Lightweight and easy customizable logger implementation of the [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md) standard.

Requirements
------------

[](#requirements)

Logger works with PHP &gt;=7.1.

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

[](#installation)

Install the latest version with composer

```
$ composer require kod/logger
```

Usage
-----

[](#usage)

Basic usage. Use default logger settings to log a message into 'php://stderr' in json format. Perfect for docker environment and works out of the box.

```
