PHPackages                             php-etl/log-plugin - 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. php-etl/log-plugin

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

php-etl/log-plugin
==================

Plugins for adding Logging support

v0.3.1(3y ago)0203[1 issues](https://github.com/php-etl/log-plugin/issues)MITPHPPHP ^8.2CI failing

Since May 24Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/php-etl/log-plugin)[ Packagist](https://packagist.org/packages/php-etl/log-plugin)[ RSS](/packages/php-etl-log-plugin/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (14)Versions (8)Used By (0)

Log Plugin
==========

[](#log-plugin)

Goal
----

[](#goal)

This package aims at integrating logging capabilities in the [Pipeline](https://github.com/php-etl/pipeline) stack.

Principles
----------

[](#principles)

The tools in this library will produce executable PHP sources, using an intermediate *Abstract Syntax Tree* from [nikic/php-parser](https://github.com/nikic/PHP-Parser). This intermediate format helps you combine the code produced by this library with other packages from [Middleware](https://github.com/php-etl).

Configuration format
--------------------

[](#configuration-format)

### Disabling logging

[](#disabling-logging)

```
logger:
    null: ~
```

### Logging to STDERR

[](#logging-to-stderr)

```
logger:
    stderr: ~
```

Usage
-----

[](#usage)

This library will build for you logging capabilities inside a pipeline.

You can use the following PHP script to test and print the result of your configuration.

```
