Skip to content

roqueando/flowee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flowee

A simple logger made in PHP that every service can communicate with him.

CodeFactor

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • PHP 7
  • Composer

Installing

Install all dependencies composer install then run flowee php flowee.php and you will see a Flowee logo

Running tests

php vendor/bin/phpunit

Basic Structure

{
  "type": "error",
  "save": true,
  "message": "something"
}

type

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

save

The save key is not required but, if set to true, will save in src/log folder, all logs

message

The messagekey is required because will save in details all errors message, exceptions and etc.

Built with

Authors

About

A stream logger made in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages