mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
chore: add logging
This commit is contained in:
parent
b6f11144b8
commit
172ba84ec8
1 changed files with 3 additions and 0 deletions
|
|
@ -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'] ?? '');
|
||||
|
|
|
|||
Loading…
Reference in a new issue