https://github.com/mteu/typo3-stream-writer
This extension adds the possibility to log to php://stdout and php://stderr.
https://github.com/mteu/typo3-stream-writer
logging typo3-cms-extension
Last synced: 3 months ago
JSON representation
This extension adds the possibility to log to php://stdout and php://stderr.
- Host: GitHub
- URL: https://github.com/mteu/typo3-stream-writer
- Owner: mteu
- License: gpl-3.0
- Created: 2024-07-30T06:33:25.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-11T02:33:37.000Z (3 months ago)
- Last Synced: 2025-04-13T03:57:46.577Z (3 months ago)
- Topics: logging, typo3-cms-extension
- Language: PHP
- Homepage:
- Size: 534 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/mteu/typo3-stream-writer/actions/workflows/cgl.yaml)
[](https://github.com/mteu/typo3-stream-writer/actions/workflows/tests.yaml)
[](https://coveralls.io/github/mteu/typo3-stream-writer?branch=main)
[](https://codeclimate.com/github/mteu/typo3-stream-writer/maintainability)[](https://get.typo3.org/version/12)
[](https://get.typo3.org/version/13)
[](https://packagist.org/packages/mteu/typo3-stream-writer)
# TYPO3 Stream Writer 🍿This TYPO3 CMS extensions adds a custom `LogWriter` to the TYPO3 Logging Framework allowing the CMS to log messages to
`php://stdout` or `php://stderr`.## ⚡️ Quickstart
### Installation
```bash
composer require mteu/typo3-stream-writer
```### Usage
Configure your extension or TYPO3 instance to use the new writer.```php
# config/system/additional.php | typo3conf/system/additional.php[
StreamWriter::class => [
'outputStream' => StandardStream::Error,
],
],
\Psr\Log\LogLevel::DEBUG => [
StreamWriter::class => [
'outputStream' => StandardStream::Out,
'ignoredComponents' => [
BackendUserAuthentication::class,
FrontendUserAuthentication::class,
],
'maxLevel' => Psr\Log\LogLevel::WARNING,
],
],
];
```
> 💡 Learn more about the LogWriter configuration in [`WriterConfiguration`](Documentation/writer-configuration.md).## ⭐ License
This project is licensed under [GNU General Public License 3.0 (or later)](LICENSE).