A simple logger made in PHP that every service can communicate with him.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- PHP 7
- Composer
Install all dependencies
composer install
then run flowee php flowee.php
and you will see a Flowee logo
php vendor/bin/phpunit
{
"type": "error",
"save": true,
"message": "something"
}
The type
key is what kind of error will set in log, and save to the respectively log folder. Having in the first version only 4 types. error
, fail
, success
and warning
The save
key is not required but, if set to true, will save in src/log
folder, all logs
The message
key is required because will save in details all errors message, exceptions and etc.
- Vitor Roque - owner - roqueando