feat: log

This commit is contained in:
hashbro
2026-09-12 20:58:19 +08:00
parent 29bf0f5cca
commit c273813b71
8 changed files with 59 additions and 10 deletions
+9 -1
View File
@@ -125,7 +125,15 @@ return [
'tokenview' => [
'driver' => 'daily',
'path' => storage_path('logs/tokenview.log'),
'path' => storage_path('logs/tokenview/tokenview.log'),
'level' => env('LOG_LEVEL', 'debug'),
'days' => env('LOG_DAILY_DAYS', 14),
'replace_placeholders' => true,
],
'telegram' => [
'driver' => 'daily',
'path' => storage_path('logs/telegram/telegram.log'),
'level' => env('LOG_LEVEL', 'debug'),
'days' => env('LOG_DAILY_DAYS', 14),
'replace_placeholders' => true,