PHPackages                             bokuno/t3-ez-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. bokuno/t3-ez-logger

ActiveTypo3-cms-extension[Logging &amp; Monitoring](/categories/logging)

bokuno/t3-ez-logger
===================

Sometimes you just need a little workaround to debug your code

3.0.0(1y ago)0511GPL-2.0-or-laterPHP

Since Sep 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/BokuNoMaxi/T3-EZ-Logger)[ Packagist](https://packagist.org/packages/bokuno/t3-ez-logger)[ Docs](https://github.com/BokuNoMaxi/T3-EZ-Logger)[ RSS](/packages/bokuno-t3-ez-logger/feed)WikiDiscussions main Synced 3d ago

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

T3-EZ-Logger
============

[](#t3-ez-logger)

Sometimes you just need a little workaround to debug your code

Install
-------

[](#install)

```
composer req bokuno/t3-ez-logger

```

How to use this logger
----------------------

[](#how-to-use-this-logger)

The logger needs to be activated to write into the log file. So you can easily de-/activate this feature without installing and removing the extension.

Then you can use this code to log:

```
use BokuNo\T3EZLogger\Domain\Model\EZLogger;
...
$ezlogger = new EZLogger("filename.log");
$ezlogger->write("I want to debug this");
...

```

check for log in var/log/filename.log

Options
-------

[](#options)

### prepend current date to filename

[](#prepend-current-date-to-filename)

just add "true" to constructor to prepend the current date in format "Ymd" to the filename

```
$ezlogger = new EZLogger("filename.log",true);

```

### send mail

[](#send-mail)

To send the log per mail you can easily call this function:

```
$ezlogger = new EZLogger("filename.log");
....
$ezlogger->sendMail($subject,$to,$sender);
...

```

None of these parameters are required, if they are set in the extension configuration. Further more mails will only be send if the logging is activated (else the log file is empty...)

Extension configuration
-----------------------

[](#extension-configuration)

[![Extension configuration](Documentation/Images/ExtensionConfiguration.png)](Documentation/Images/ExtensionConfiguration.png)

### activateLog

[](#activatelog)

sometimes you don't want to flood your server with logs, or you log to much and have performance problems, so I made an option to easily toggle if ezlogger writes into the log or not.

### mailReceiver

[](#mailreceiver)

if activateLog = 1, the system can send out the logfile per mail to a predefined receiver. You can configure the receiver globally in the extension or in the function call

### mailSender

[](#mailsender)

if activateLog = 1, the system can send out the logfile per mail to a predefined receiver. You can configure the sender globally in the extension or in the function call

But why ? I can log directly via \\TYPO3\\CMS\\Core\\Log\\LogManager
--------------------------------------------------------------------

[](#but-why--i-can-log-directly-via-typo3cmscoreloglogmanager)

Because when I need to debug strange things in production, I don't want to flood the server with unnecessery logs from extensions I cannot fix for reasons.

TODO:
-----

[](#todo)

just some features that are nice to have, that you don't want to implement every single time...

- Scheduler to remove log after n days
- Send Mail Function to directly send your log via mail to predefined mail address
- Timestamp to prepend to log file?

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance42

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64% 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

Recently: every ~117 days

Total

7

Last Release

473d ago

Major Versions

1.2.0 → 2.0.02024-08-21

2.0.0 → 3.0.02025-03-19

### Community

Maintainers

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

---

Top Contributors

[![maketterer](https://avatars.githubusercontent.com/u/86427910?v=4)](https://github.com/maketterer "maketterer (16 commits)")[![BokuNoMaxi](https://avatars.githubusercontent.com/u/8913243?v=4)](https://github.com/BokuNoMaxi "BokuNoMaxi (9 commits)")

---

Tags

loggertypo3

### Embed Badge

![Health badge](/badges/bokuno-t3-ez-logger/health.svg)

```
[![Health](https://phpackages.com/badges/bokuno-t3-ez-logger/health.svg)](https://phpackages.com/packages/bokuno-t3-ez-logger)
```

###  Alternatives

[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[typo3/cms-belog

TYPO3 CMS Log - View logs from the sys\_log table in the TYPO3 backend modules System&gt;Log

169.1M137](/packages/typo3-cms-belog)[networkteam/sentry-client

A Sentry client for TYPO3. It forwards errors and exceptions to Sentry - https://sentry.io/

391.1M7](/packages/networkteam-sentry-client)[typo3/cms-styleguide

TYPO3 extension to showcase TYPO3 Backend capabilities

106760.3k33](/packages/typo3-cms-styleguide)[t3monitor/t3monitoring_client

Client extension for the t3monitoring service

31890.4k2](/packages/t3monitor-t3monitoring-client)

PHPackages © 2026

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