The coreLogger
class is a PHP library for logging messages to files. It supports logging at different levels of severity, including DEBUG, INFO, SUCCESS, WARNING, and ERROR. It also provides support for rotating log files, which can help manage file sizes and ensure that logs don't become too large.
- Supports logging at different severity levels: DEBUG, INFO, SUCCESS, WARNING, and ERROR.
- Rotates log files to manage file sizes.
- Provides the ability to add, set, and list log files.
- Supports logging to multiple files.
- Supports logging ip addresses.
This software is distributed under the MIT license.
- PHP >= 8.0
Please disclose any vulnerabilities found responsibly – report security issues to the maintainers privately. See SECURITY.md for more information.
Using Composer:
composer require laswitchtech/core-logger
Review the Documentation.