An open API service indexing awesome lists of open source software.

https://github.com/christopher-evans/log-psr-3-bridge

Bridge from West\Log\Log to a PSR-3 logger
https://github.com/christopher-evans/log-psr-3-bridge

logger oop php psr-3

Last synced: 5 months ago
JSON representation

Bridge from West\Log\Log to a PSR-3 logger

Awesome Lists containing this project

README

          

# West Log PSR-3 Bridge

### Master
[![Build Status](https://travis-ci.org/christopher-evans/log-psr-3-bridge.svg?branch=master)](https://travis-ci.org/christopher-evans/log-psr-3-bridge)
[![Coverage Status](https://coveralls.io/repos/github/christopher-evans/log-psr-3-bridge/badge.svg?branch=master)](https://coveralls.io/github/christopher-evans/log-psr-3-bridge?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/51638f617cb68a480007/maintainability)](https://codeclimate.com/github/christopher-evans/log-psr-3-bridge/maintainability)

## Autoloading

This package is [PSR-4][] autoloadable via composer or otherwise mapping the `West\LogPsr3Bridge`
namespace to the `src/` directory. To run the tests the `West\LogPsr3Bridge` namespace should map
to the `tests/` directory.

## Dependencies

This package requires PHP 7.0 or later; interfaces required by the package are
documented in the [composer.json][] file.

## Code Quality

To run the unit tests and generate a coverage report with [PHPUnit][] run
`composer install` followed by `composer test` at the command line.

This package should comply with the recommendations set out in [PSR-1][], [PSR-2][]
and [PSR-4][].

## Documentation

This package is documented [here](https://christopher-evans.github.io/log-psr-3-bridge/). To generate the docs run
run `composer install --no-dev`, ensure [MkDocs][] is installed and available
as `doxygen` and run `composer docs`.

[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[PSR-3]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md
[Composer]: http://getcomposer.org/
[MkDocs]: https://www.mkdocs.org/
[PHPUnit]: http://phpunit.de/
[composer.json]: ./composer.json
[PMD]: https://pmd.github.io/