Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.
/ component_log Public archive

Class and method for generated log on several canals, with error management.

License

Notifications You must be signed in to change notification settings

jgauthi/component_log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Component Log

Class and method for generated log on several canals, with error management.

  • Terminal (cli)
  • On the browser (text/plain)
  • On logfile
  • Return by email on certain condition (if error, at end script or manually)
  • In the table batch_logs on database

Prerequisite

  • PHP 7.4+
  • PHP Extension: mbstring
  • Pdo Mysql (optional)

Install

Edit your composer.json (launch composer update after edit):

{
  "repositories": [
    { "type": "git", "url": "git@github.com:jgauthi/component_log.git" }
  ],
  "require": {
    "jgauthi/component_log": "3.*"
  }
}

Documentation

You can look at folder example.