PHPackages                             blackbird/module-logger-sample - 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. blackbird/module-logger-sample

ActiveMagento2-module[Logging &amp; Monitoring](/categories/logging)

blackbird/module-logger-sample
==============================

Demo Module for Custom Logger with Magento 2.

0.2.0(7y ago)432MITPHP

Since Aug 31Pushed 4y ago3 watchersCompare

[ Source](https://github.com/thomas-kl1/magento-2-logger-example)[ Packagist](https://packagist.org/packages/blackbird/module-logger-sample)[ Docs](https://github.com/blackbird-agency/magento-2-logger-example)[ RSS](/packages/blackbird-module-logger-sample/feed)WikiDiscussions master Synced 2mo ago

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

Logger Code Example
===================

[](#logger-code-example)

[![Latest Stable Version](https://camo.githubusercontent.com/9a32a33c82950f7ef7e66bab6946311da2f9aeb33db890a389e15cfd4377cace/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c61636b626972642f6d6f64756c652d6c6f676765722d73616d706c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blackbird/module-logger-sample)[![License: MIT](https://camo.githubusercontent.com/d2c4b74423a69caa21b4b71c5889c48ffba8c3ecedf619c2503d6d0801306739/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f626c61636b626972642d6167656e63792f6d6167656e746f2d322d6c6f676765722d6578616d706c652e7376673f7374796c653d666c61742d737175617265)](./LICENSE)

This repository is a demo of how to implement its own logger model in Magento 2.

If you are interseted into how to do it in your code, step by step, [read our article](https://black.bird.eu/en/blog/magento2logs.html).

***A gift from the Blackbird Agency Team*** 🐦

Setup
-----

[](#setup)

### Get the package

[](#get-the-package)

**Zip Package:**

Unzip the package in app/code/Blackbird/LoggerSample.

**Composer Package:**

```
composer require blackbird/module-logger-sample

```

### Install the module

[](#install-the-module)

Then, run the following magento command:

```
php bin/magento setup:upgrade

```

**If you are in production mode, do not forget to recompile and redeploy the static resources.**

Support
-------

[](#support)

Raise a new [request](https://github.com/blackbird-agency/magento-2-logger-example/issues).

Authors
-------

[](#authors)

- **Thomas Klein** - *Initial work* - [It's me!](https://github.com/thomas-kl1)
- **Blackbird Team** - *Contributor* - [They're awesome!](https://github.com/blackbird-agency)

Contact
-------

[](#contact)

For further information, contact us:

- by email:
- or by form: [https://black.bird.eu/en/contacts/](https://black.bird.eu/contacts/)

Licence
-------

[](#licence)

This project is licensed under the Blackbird Policy License - see the [LICENSE](./LICENSE) link for details.

***That's all folks!***

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~90 days

Total

4

Last Release

2902d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95669?v=4)[Thom](/maintainers/thomasklein)[@thomasklein](https://github.com/thomasklein)

---

Top Contributors

[![thomas-kl1](https://avatars.githubusercontent.com/u/20971693?v=4)](https://github.com/thomas-kl1 "thomas-kl1 (11 commits)")

---

Tags

demoexampleloggerloggingmagento2phptutorialphpmagentologgermagento2sample

### Embed Badge

![Health badge](/badges/blackbird-module-logger-sample/health.svg)

```
[![Health](https://phpackages.com/badges/blackbird-module-logger-sample/health.svg)](https://phpackages.com/packages/blackbird-module-logger-sample)
```

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1014.9k](/packages/opengento-module-webapi-logger)[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

119.1k](/packages/opengento-module-category-import-export)[tomatophp/filament-logger

Log all user activity to file or log driver and preview it on your FilamentPHP panel

162.2k](/packages/tomatophp-filament-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
