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)0473GPL-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 1mo 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

32

—

LowBetter than 72% of packages

Maintenance45

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

426d ago

Major Versions

1.2.0 → 2.0.02024-08-21

2.0.0 → 3.0.02025-03-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd8574bc3d728b66fb9ad67b3db62ca64fa919e0233cf60c9ab8fbeeed6004d8?d=identicon)[BokuNoMaxi](/maintainers/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

[networkteam/sentry-client

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

371.0M4](/packages/networkteam-sentry-client)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)[helhum/sentry-typo3

Sentry Integration for TYPO3

1833.5k](/packages/helhum-sentry-typo3)[mfd/typo3-prometheus

Exports Prometheus metrics for TYPO3 instances

1010.6k](/packages/mfd-typo3-prometheus)

PHPackages © 2026

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