Download the PHP package utopia-php/logger without Composer
On this page you can find all versions of the php package utopia-php/logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download utopia-php/logger
More information about utopia-php/logger
Files in utopia-php/logger
Package logger
Short Description Utopia Logger library is simple and lite library for logging information, such as errors or warnings. This library is aiming to be as simple and easy to learn and use.
License MIT
Informations about the package logger
Utopia Logger
Utopia Logger library is simple and lite library for logging information, such as errors or warnings. This library aims to be as simple and easy to learn and use as possible. This library is maintained by the Appwrite team.
Although the library was built for the Utopia Framework project, it is completely independent, dependency-free and can be used with any other PHP project or framework.
Getting Started
Install using composer:
Adapters
Below is a list of supported adapters, and thier compatibly tested versions alongside a list of supported features and relevant limits.
Adapter | Status |
---|---|
Sentry | ✅ |
AppSignal | ✅ |
Raygun | ✅ |
Log Owl | ✅ |
✅ - supported, 🛠 - work in progress
Tests
If you need to install dependencies, run:
To run all unit tests, prepare the .env
file using .env.example
as a template. Then, run:
Make sure to replace
TEST_SENTRY_DSN
with actual keys from Sentry.Make sure to replace
TEST_APPSIGNAL_KEY
with key found in Appsignal -> Project -> App Settings -> Push & deploy -> Push KeyMake sure to replace
TEST_RAYGUN_KEY
with key found in Raygun -> Project -> Application Settings -> Api Key
To run static code analysis, use the following Psalm command:
System Requirements
Utopia Framework requires PHP 8.0 or later. We recommend using the latest PHP version whenever possible.
Copyright and license
The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php