fix(access_logger): fix stdout and path not working at the same time

This commit is contained in:
yusing
2025-11-01 12:07:22 +08:00
parent e3915210aa
commit 306cb7a20e
11 changed files with 383 additions and 39 deletions

View File

@@ -55,7 +55,7 @@ type config struct {
logAllowed bool
// will be nil if Log is nil
logger *accesslog.AccessLogger
logger accesslog.AccessLogger
// will never tick if Notify.To is empty
notifyTicker *time.Ticker