#feature: update log format

This commit is contained in:
tradewind committed 2026-01-19 15:42:44 +08:00
1 parent 0646c8612b
commit ddd0f531fd
9 files changed
+180 -170

No files matched your search

@@ -17,11 +17,11 @@ class GitMonitorCacheCommand extends Command
$cache = $monitor->refreshReleaseCache(true);
if (empty($cache)) {
Log::warning('未获取到任何 release 版本信息,请检查配置。');
Log::channel('git-monitor')->warning('未获取到任何 release 版本信息,请检查配置。');
return;
}
Log::info(sprintf(
Log::channel('git-monitor')->info(sprintf(
'已缓存 %d 个仓库的 release 分支信息。',
count($cache['repositories'] ?? [])
));