chore: add logging

This commit is contained in:
Chirag Aggarwal 2025-07-03 22:25:46 +05:30
parent b6f11144b8
commit 172ba84ec8

View file

@ -2,6 +2,8 @@
namespace Appwrite\Network;
use Utopia\CLI\Console;
class Platform
{
public const TYPE_UNKNOWN = 'unknown';
@ -100,6 +102,7 @@ class Platform
public static function getSchemes(array $platforms): array
{
$schemes = [];
Console::log("Platforms: " . json_encode($platforms, JSON_PRETTY_PRINT));
foreach ($platforms as $platform) {
$type = strtolower($platform['type'] ?? self::TYPE_UNKNOWN);
$scheme = strtolower($platform['key'] ?? '');