feat : 테넌트 부트스트랩 오케스트레이션

Notion : https://www.notion.so/hamss/2579c8d34ba080d586b6faaae249f476?source=copy_link
This commit is contained in:
2025-08-22 15:57:44 +09:00
parent 189bdbfd80
commit cd81285731
12 changed files with 338 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?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; }
}