added enabled/disable to styles

This commit is contained in:
2025-07-30 15:06:05 +02:00
parent 108ca37468
commit 07c6786bda
76 changed files with 438 additions and 8658 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace App\Api\Plugins;
use Illuminate\Support\Facades\Log;
trait LoggablePlugin
{
protected function logInfo(string $message, array $context = []): void
{
Log::channel('plugins')->info($message, $context);
}
protected function logWarning(string $message, array $context = []): void
{
Log::channel('plugins')->warning($message, $context);
}
protected function logError(string $message, array $context = []): void
{
Log::channel('plugins')->error($message, $context);
}
protected function logDebug(string $message, array $context = []): void
{
Log::channel('plugins')->debug($message, $context);
}
}