mrthat1996/klee-bugs-report

There is no license information available for the latest version (0.0.6) of this package.

Log bugs using Klee

0.0.6 2022-11-29 10:30 UTC

This package is auto-updated.

Last update: 2024-04-29 05:16:31 UTC


README

Install

  1. Install the package
composer require mrthat1996/klee-bugs-report
  1. Add ServiceProvider to config/app.php
Mrthat1996\KleeBugsReport\Providers\KleeBugsReportServiceProvider::class
  1. Public configuration (Optional)
php artisan vendor:publish --provider="Mrthat1996\KleeBugsReport\Providers\ServiceProvider"
  1. Config ENV
  • Which error levels should be report
KLEE_LOG_LEVEL=error
  • Which environments should be report
KLEE_LOG_ENV=development,staging
  • Klee authentication token (Ask Alice for token)
KLEE_AUTH_TOKEN=TOKEN
  1. Facades
  • Add alias to config/app.php
'Klee' => Mrthat1996\KleeBugsReport\Facades\KleeFacade::class,
  • To log a custom message
\Klee::log(string, array);