ssaweb/appwrite-logger

This is a package responsible for calling a logger function made in appwrite

v1.3.0 2024-02-06 03:41 UTC

This package is auto-updated.

Last update: 2024-05-06 13:14:15 UTC


README

It's just a helper class I use in my appwrite functions to call my log function that submits the log to logz.io services.

If you find it useful you could deploy the function in your appwrite server and then install the Logger package in your PHP function and use it like below:

$logger = new Logger(new Functions($client));
$logger->log("My Log", ['tagA', 'tagB']);

It seems to be recommended to avoid using appwrite log functions due to the issue below:

https://discord.com/channels/564160730845151244/1202496275967115275