Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-02T16:05:33.000Z (8 months ago)
- Last Synced: 2024-08-09T11:16:33.469Z (5 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.)![logo](logo.png)
# CsvHandler for Monolog - Logging for PHP [![Build Status](https://scrutinizer-ci.com/g/femtopixel/monolog-csvhandler/badges/build.png?b=master)](https://scrutinizer-ci.com/g/femtopixel/monolog-csvhandler/build-status/master)
[![Latest Stable Version](https://img.shields.io/packagist/v/femtopixel/monolog-csvhandler.svg)](https://packagist.org/packages/femtopixel/monolog-csvhandler)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.2-8892BF.svg?style=flat-square)](https://php.net/)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/femtopixel/monolog-csvhandler/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/femtopixel/monolog-csvhandler/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/femtopixel/monolog-csvhandler/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/femtopixel/monolog-csvhandler/?branch=master)
[![License](https://poser.pugx.org/femtopixel/monolog-csvhandler/license)](https://packagist.org/packages/femtopixel/monolog-csvhandler)
[![PayPal donation](https://github.com/jaymoulin/jaymoulin.github.io/raw/master/ppl.png "PayPal donation")](https://www.paypal.me/jaymoulin)
[![Buy me a coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png "Buy me a coffee")](https://www.buymeacoffee.com/jaymoulin)
[![Buy me a coffee](https://ko-fi.com/img/githubbutton_sm.svg "Buy me a coffee")](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