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
- Host: GitHub
- URL: https://github.com/christopher-evans/log-psr-3-bridge
- Owner: christopher-evans
- License: mit
- Created: 2018-03-11T21:39:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-04T22:56:53.000Z (over 2 years ago)
- Last Synced: 2024-03-05T00:43:56.996Z (over 2 years ago)
- Topics: logger, oop, php, psr-3
- Language: PHP
- Size: 554 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# West Log PSR-3 Bridge
### Master
[](https://travis-ci.org/christopher-evans/log-psr-3-bridge)
[](https://coveralls.io/github/christopher-evans/log-psr-3-bridge?branch=master)
[](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/