2017 © Pedro Peláez
 

library dummy-logger

Dummy logger that implements PSR-3 so that my own classes can work with a common base

image

unreal4u/dummy-logger

Dummy logger that implements PSR-3 so that my own classes can work with a common base

  • Monday, January 8, 2018
  • by unreal4u
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,091 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 30 % Grown

The README.md

unreal4u/dummy-logger

Lightweight PSR-3 compatible Logging Framework for PHP7+ which, as the name implies, does not log or do anything else., (*1)

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., (*2)

If you are facing the same problem, you can also use this class. It is released under the MIT license., (*3)

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., (*4)

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., (*5)

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., (*6)

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., (*7)

The Versions

08/01 2018

dev-master

9999999-dev

Dummy logger that implements PSR-3 so that my own classes can work with a common base

  Sources   Download

MIT

The Requires

 

08/01 2018

v1.0.1

1.0.1.0

Dummy logger that implements PSR-3 so that my own classes can work with a common base

  Sources   Download

MIT

The Requires

 

02/01 2018

v1.0.0

1.0.0.0

Dummy logger that implements PSR-3 so that my own classes can work with a common base

  Sources   Download

MIT

The Requires