Download the PHP package comphp/logging without Composer
On this page you can find all versions of the php package comphp/logging. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download comphp/logging
More information about comphp/logging
Files in comphp/logging
Package logging
Short Description A minimal, PSR-3 compliant logging library designed for flexibility and simplicity.
License MIT
Informations about the package logging
Lean Logging Library
A minimal, PSR-3 compliant logging library designed for flexibility and simplicity. It supports multiple log outputs, custom logger configurations, and log level filtering—keeping things as lean as your favorite retro toolkit.
Features
- PSR-3 Compliant: Implements the standard logging interface.
- Custom Logger Implementations: Includes examples like
BuiltinLogger
andNullLogger
. - LogManager: Easily handle and dispatch log messages to one or more logger instances.
- Flexible Configuration: Configure logger behavior, including log level filtering and custom setups.
- Multiple Outputs: Log to multiple destinations without breaking standards.
Installation
Install via Composer:
Usage
Create and configure logger instances, then add them to the LogManager:
Examples
Additional example scripts are provided in the examples/
directory, demonstrating how to use different logger implementations and configurations.
Changelog
See CHANGELOG.md for a record of changes.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for details on how to help out.
Code of Conduct
This project is released under a Code of Conduct. Please review CODE_OF_CONDUCT.md for details.
License
This project is licensed under the MIT License. See the LICENSE file for more information.