https://github.com/femtopixel/monolog-csvhandler
CsvHandler for Monolog - Logging for PHP
https://github.com/femtopixel/monolog-csvhandler
csv monolog monolog-handler php
Last synced: 3 months ago
JSON representation
CsvHandler for Monolog - Logging for PHP
- Host: GitHub
- URL: https://github.com/femtopixel/monolog-csvhandler
- Owner: femtopixel
- License: mit
- Created: 2016-11-14T23:18:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-02T16:05:33.000Z (about 1 year ago)
- Last Synced: 2024-08-09T11:16:33.469Z (11 months ago)
- Topics: csv, monolog, monolog-handler, php
- Language: PHP
- Homepage: https://brands.jaymoulin.me/femtopixel/monolog-csvhandler/
- Size: 48.8 KB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.mdown
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
> [!CAUTION]
> As-of 2021, this product does not have a free support team anymore. If you want this product to be maintained, please support my work.
> [!NOTE]
> (This product is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added.)
# CsvHandler for Monolog - Logging for PHP [](https://scrutinizer-ci.com/g/femtopixel/monolog-csvhandler/build-status/master)
[](https://packagist.org/packages/femtopixel/monolog-csvhandler)
[](https://php.net/)
[](https://scrutinizer-ci.com/g/femtopixel/monolog-csvhandler/?branch=master)
[](https://scrutinizer-ci.com/g/femtopixel/monolog-csvhandler/?branch=master)
[](https://packagist.org/packages/femtopixel/monolog-csvhandler)
[](https://www.paypal.me/jaymoulin)
[](https://www.buymeacoffee.com/jaymoulin)
[](https://www.ko-fi.com/jaymoulin)CsvHandler for Monolog sends your logs to CSV files. For more information on Monolog, see http://github.com/Seldaek/monolog
## Installation
Install the latest version with
```bash
$ composer require femtopixel/monolog-csvhandler
```## Basic Usage
```php
pushHandler(new CsvHandler('path/to/your.csv', Logger::WARNING));// add records to the log
$log->addWarning('Foo');
$log->addError('Bar');
```## About
### Requirements
- Monolog works with PHP 5.3 or above, and is also tested to work with HHVM.
### Submitting bugs and feature requests
Bugs and feature request are tracked on [GitHub](https://github.com/fmetopixel/monolog-csvhandler/issues)
### Author
Jay MOULIN
See also the list of [contributors](https://github.com/femtopixel/monolog-csvhandler/contributors) which participated in this handler.### License
Monolog is licensed under the MIT License and so for this CsvHandler - see the `LICENSE` file for details