PHPackages                             kikimarik/lognote - 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. kikimarik/lognote

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

kikimarik/lognote
=================

Composer package for logs

v1.0.0(3y ago)117MITPHPPHP &gt;=7.1

Since Jun 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kikimarik/lognote)[ Packagist](https://packagist.org/packages/kikimarik/lognote)[ RSS](/packages/kikimarik-lognote/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Lognote - standard PHP library for logging
==========================================

[](#lognote---standard-php-library-for-logging)

Features
--------

[](#features)

---

- Object-oriented design (without static methods etc.)
- Compatible with PHP 7.1 and later, including PHP 8.1
- Support for the `json` format
- Ability to write log into the file or print to console output

Why do you need it
------------------

[](#why-do-you-need-it)

---

The library helps PHP developers to log their application events at different levels. 6 levels have been implemented: errors, warnings, info, fatal, notice and debug.

`Lognote` has a nice object-oriented design and it is going to please you with its simplicity. Before testing a class that depends on that library component, it is easy to replace that dependency with a fake class.

A Simple Example
----------------

[](#a-simple-example)

---

```
