refactor(route/logging): streamline log messages with EmbedObject for improved clarity

Updated logging statements across multiple files to utilize EmbedObject for enhanced context in log messages. This change improves the readability and consistency of log outputs, particularly in health monitoring and route validation processes.
This commit is contained in:
yusing
2026-02-08 09:20:01 +08:00
parent 31b4fedf72
commit 5c8126c2e6
8 changed files with 59 additions and 29 deletions

View File

@@ -8,5 +8,5 @@ import (
)
func logDebugf(stream zerolog.LogObjectMarshaler, format string, v ...any) {
log.Debug().Object("stream", stream).Msgf(format, v...)
log.Debug().EmbedObject(stream).Msgf(format, v...)
}