litermi / logs
package to log routines and sql query
1.0.30
2024-05-08 18:31 UTC
Requires
- php: ^7.4|^8.0
- guzzlehttp/guzzle: ^7.2
- illuminate/config: ^7.20|^8.19|^9.0|^10.0|^11.0
- illuminate/contracts: ^7.20|^8.19|^9.0|^10.0|^11.0
- illuminate/database: ^7.20|^8.19|^9.0|^10.0|^11.0
- illuminate/http: ^7.20|^8.19|^9.0|^10.0|^11.0
- dev-main
- 1.0.30
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- dev-BAC-48-add-global-special-values-request-parameter-to-log-package
- dev-BAC-31-adjust-package-sendConsoleLog-to-send-always-subject-notification-when-it-has-error
This package is auto-updated.
Last update: 2025-03-08 20:19:46 UTC
README
About
The logs
package to send logs to console with extra info and catch query sql .
Tutorial how create composer package
Installation
Require the litermi/logs
package in your composer.json
and update your dependencies:
composer require litermi/logs
Configuration
set provider
'providers' => [ // ... Litermi\Logs\Providers\ServiceProvider::class, ],
The defaults are set in config/logs.php
. Publish the config to copy the file to your own config:
php artisan vendor:publish --provider="Litermi\Logs\Providers\ServiceProvider"
Note: this is necessary to you can change default config
Usage
add provider in config/app.php
'providers' => [ Litermi\Logs\Providers\QueryLogProvider::class, ]
$extraValues['test'] = 1; LogConsoleFacade::full()->tracker()->log('your message', $extraValues);
License
Released under the MIT License, see LICENSE.