pivot-libre / tideman

Implementation of the Tideman ranked pairs algorithm
Apache License 2.0
9 stars 3 forks source link

Add Logging #26

Closed carlschroedl closed 7 years ago

carlschroedl commented 7 years ago

Choose a library for logging, and sprinkle a few appropriately-leveled log statements in a few classes. Strong preference is given to a library that implements the PSR-3 Logging Interface.

At least two candidates: Monolog KLogger

If the pivot web app backend already uses a PSR-3-compliant Logging Library, then that should be used.

andrewshell commented 7 years ago

Laravel which is what we're using for the API uses Monolog. We can implement PSR-3 in this library without depending on a specific library. Although we can choose one as a dev dependency if we want to have logging in test scripts.