Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unreal4u/dummylogger
Lightweight PSR-3 compatible Logging Framework for PHP7+ which, as the name implies, does not log or do anything else.
https://github.com/unreal4u/dummylogger
logging php7
Last synced: 3 months ago
JSON representation
Lightweight PSR-3 compatible Logging Framework for PHP7+ which, as the name implies, does not log or do anything else.
- Host: GitHub
- URL: https://github.com/unreal4u/dummylogger
- Owner: unreal4u
- Created: 2018-01-02T21:35:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T20:48:20.000Z (over 1 year ago)
- Last Synced: 2024-10-12T05:09:20.263Z (3 months ago)
- Topics: logging, php7
- Language: PHP
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# unreal4u/dummy-logger
Lightweight PSR-3 compatible Logging Framework for PHP7+ which, as the name implies, does not log or do anything else.
This class only exists because I often will create my packages with a lot of debugging and other statements, and I see
myself on the necessity of having this class defined in the package itself, which breaks the rule that a package should
do one and only one thing correctly.If you are facing the same problem, you can also use this class. It is released under the MIT license.
This class will also inherit some Monolog exclusive methods as I often see myself using these ones. New methods may be
added in the future.# What is ...?
## PSR-3
PSR-3 came into life as a way to create a common interface for Logger Frameworks: this way, you can rewrite libraries to
receive a `Psr\Log\LoggerInterface` object and write logs to it in a simple and universal way.## Monolog
Monolog is the de-facto standard framework used by the PHP community in order to log stuff. You can check the Monolog's
[homepage here](https://github.com/Seldaek/monolog).# Clarifications
No tests needed because this package does not do any processing of data. In the event that it will in the future, tests
will be added.