refactor(logging): Improve client loading and registration logs

This commit is contained in:
hkfires
2025-09-26 14:01:41 +08:00
parent 39e398ae02
commit 3ca01b60a5
4 changed files with 8 additions and 15 deletions

View File

@@ -8,6 +8,7 @@ import (
log "github.com/sirupsen/logrus"
)
// Separator used to visually group related log lines.
var credentialSeparator = strings.Repeat("-", 70)
// LogSavingCredentials emits a consistent log message when persisting auth material.
@@ -21,5 +22,5 @@ func LogSavingCredentials(path string) {
// LogCredentialSeparator adds a visual separator to group auth/key processing logs.
func LogCredentialSeparator() {
log.Info(credentialSeparator)
log.Debug(credentialSeparator)
}