gitignore 수정

This commit is contained in:
2025-12-23 13:58:07 +09:00
parent 6576b59d7e
commit 1d693df861
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -171,3 +171,4 @@ _modules/*
/dist/
/node_modules/
.env
**/logs/

View File

@@ -101,7 +101,7 @@ function writeLog($message, $level = 'ERROR') {
}
// 3. 파일명 결정 (예: logs/2025/12/2025-12-22.log)
$logFile = $Dir . '/' . date('Y-m-d') . '.log';
$logFile = $Dir . date('Y-m-d') . '.log';
// 4. 로그 포맷팅 (시간 [레벨] 메시지)
$timestamp = date('Y-m-d H:i:s');
$formattedMessage = "[$timestamp] [$level] $message" . PHP_EOL;