synaptic4u / logging
Custom logging class able to log to files and database
Fund package maintenance!
Patreon
Requires
- laravel/prompts: ^0.3
- synaptic4u/db: ^1.3.1
README
Logging in a simplified way to a file or DB.
Table of Contents
Introduction
This project provides a simplified logging mechanism that allows you to log messages to a file or a database. It is designed to be easy to integrate into your existing applications.
Features
- Log messages to a file
- Log messages to a database
- Configurable logging levels (e.g., DEBUG, INFO, WARN, ERROR)
- Easy to set up and use
Installation
To install the logging library, you can use composer: The followig are cofiguratio files supported. Please add them to project directory.
vendor/synaptic4u/logging/tests/.env
vendor/synaptic4u/logging/tests/config.json
Rename configNested.json to config.json for testing
vendor/synaptic4u/logging/tests/configNested.json
composer install syaptic4u/logging
composer dump-autoload -o
composer exec install
Then follow the prompts.