fix logger and redeem admin review findings
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled

This commit is contained in:
2026-04-20 11:24:36 +08:00
parent 3a0ca7f57f
commit ed642e8769
22 changed files with 563 additions and 63 deletions

View File

@@ -59,6 +59,7 @@ func TestStdLogBridgeRoutesLevels(t *testing.T) {
_ = stderrR.Close()
_ = stderrW.Close()
})
t.Cleanup(Shutdown)
if err := Init(InitOptions{
Level: "debug",
@@ -121,6 +122,7 @@ func TestLegacyPrintfRoutesLevels(t *testing.T) {
_ = stderrR.Close()
_ = stderrW.Close()
})
t.Cleanup(Shutdown)
if err := Init(InitOptions{
Level: "debug",