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

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

unicate/logger
==============

Basic PSR-3 compliant logger.

v1.4(4y ago)0311MITPHPPHP &gt;=7.3CI failing

Since May 27Pushed 4y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (6)Used By (1)

Logger
======

[](#logger)

Basic PSR-3 compliant logger implementation. See

### Installation

[](#installation)

Use composer:

```
composer require unicate/logger

```

### Example

[](#example)

- Use the constructor to pass the current loglevel.
- The path to the log directory is optional. If not provided it will be logged to StdOut.
- A filename including date pattern can also be passed optionally. Default is '{Y-m-d}-log.txt'.

```
