feat(logging): migrate remaining files to app channel — all Log:: calls now use domain channels

This commit is contained in:
F4ilji
2026-07-05 23:32:01 +05:00
parent 6bc1b3e921
commit 769b2ff342
17 changed files with 50 additions and 50 deletions
@@ -47,7 +47,7 @@ trait MemoryAwareTrait
// Логируем только если превышен порог
if ($currentMemory > $this->memoryLogThreshold) {
Log::info('[MemoryMonitor] Использование памяти', [
Log::channel('app')->info('Использование памяти', [
'context' => $context,
'current' => round($currentMemory / 1024 / 1024, 2) . 'MB',
'peak' => round($peakMemory / 1024 / 1024, 2) . 'MB',
@@ -75,7 +75,7 @@ trait MemoryAwareTrait
$memoryAfter = round(memory_get_usage(true) / 1024 / 1024, 2);
$freed = round(($memoryBefore - $memoryAfter), 2);
Log::info('[MemoryMonitor] Сборка мусора выполнена', [
Log::channel('app')->info('Сборка мусора выполнена', [
'memory_before' => $memoryBefore . 'MB',
'memory_after' => $memoryAfter . 'MB',
'freed' => $freed . 'MB',