laswitchtech/core-logger

Logger Library for the Laswitch Core Framework

v1.0.4 2024-07-18 17:54 UTC

This package is auto-updated.

Last update: 2024-12-18 18:50:42 UTC


README

coreLogger

License GitHub repo size GitHub top language Version

Description

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.

Features

  • 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.

License

This software is distributed under the MIT license.

Requirements

  • PHP >= 8.0

Security

Please disclose any vulnerabilities found responsibly – report security issues to the maintainers privately. See SECURITY.md for more information.

Installation

Using Composer:

composer require laswitchtech/core-logger

How do I use it?

Review the Documentation.