refactor: use nginx -s reload instead of systemd
- doc: add comment
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// TestLoggerWritesConsoleAndFile 验证日志同时写入控制台与文件,且包含消息与键值字段。
|
||||
func TestLoggerWritesConsoleAndFile(t *testing.T) {
|
||||
t.Parallel()
|
||||
var console bytes.Buffer
|
||||
|
||||
Reference in New Issue
Block a user