https://github.com/phpdevcommunity/psr3-logger
A straightforward logging library for PHP that implements PSR-3, making it easy to integrate logging into your project.
https://github.com/phpdevcommunity/psr3-logger
Last synced: 3 months ago
JSON representation
A straightforward logging library for PHP that implements PSR-3, making it easy to integrate logging into your project.
- Host: GitHub
- URL: https://github.com/phpdevcommunity/psr3-logger
- Owner: phpdevcommunity
- Created: 2024-10-08T08:35:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-08T09:12:39.000Z (over 1 year ago)
- Last Synced: 2025-04-09T04:07:43.015Z (10 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Logger PSR-3
A straightforward logging library for PHP that implements PSR-3, making it easy to integrate logging into your project.
## Installation
Install via [Composer](https://getcomposer.org/):
```bash
composer require phpdevcommunity/psr3-logger
```
## Requirements
- PHP 7.4 or higher
## Usage
Here's how to set up and use the logger:
```php
log(LogLevel::EMERGENCY, 'An error has occurred');
```
## Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to help improve the library.
## License
This library is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).