Download the PHP package borzenkovdev/php-telemetry without Composer
On this page you can find all versions of the php package borzenkovdev/php-telemetry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download borzenkovdev/php-telemetry
More information about borzenkovdev/php-telemetry
Files in borzenkovdev/php-telemetry
Package php-telemetry
Short Description This package offer a variety of features for meaningful logging.
License MIT
Homepage https://github.com/borzenkovdev/php-telemetry
Informations about the package php-telemetry
Telemetry - lightweight PHP Logging Library with Multi-Driver Support
A flexible and configurable logging library for PHP, supporting transactions with unique IDs, customizable date formats, and time zones. This library simplifies tracking logs with transaction IDs and performance timings and implements the PSR-3 specification.
Features
- Supports logging messages with various log levels.
- Provides unique transaction IDs for tracking grouped logs.
- Customizable date and time formats.
- Allows setting a custom time zone.
- Supports PSR-3 log levels for compatibility.
Installation
Install the latest version with:
Usage
Basic Usage
Basic Usage with transaction
For more examples, see the examples folder.
Configuring Date Format and Time Zone
You can set a custom date format and time zone using and .
This configuration will format timestamps according to the specified format and time zone.
Adding a Custom Driver
To add a custom driver, implement the DriverInterface and define the write method to handle log storage.