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

Latest commit

 

History

History
31 lines (25 loc) · 734 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 734 Bytes

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.