Files
sam-api/app/Services/TenantBootstrap/Support/TenantBootstrapLogger.php
hskwon cc206fdbed style: Laravel Pint 코드 포맷팅 적용
- PSR-12 스타일 가이드 준수
- 302개 파일 스타일 이슈 자동 수정
- 코드 로직 변경 없음 (포맷팅만)
2025-11-06 17:45:49 +09:00

24 lines
579 B
PHP

<?php
namespace App\Services\TenantBootstrap\Support;
class TenantBootstrapLogger
{
private array $messages = [];
public function info(string $msg, array $ctx = []): void
{
$this->messages[] = ['level' => 'info', 'msg' => $msg, 'ctx' => $ctx, 'ts' => now()->toDateTimeString()];
}
public function error(string $msg, array $ctx = []): void
{
$this->messages[] = ['level' => 'error', 'msg' => $msg, 'ctx' => $ctx, 'ts' => now()->toDateTimeString()];
}
public function dump(): array
{
return $this->messages;
}
}