refactor: move accesslog to logging/accesslog

This commit is contained in:
yusing
2025-04-25 08:37:39 +08:00
parent 2f33ee02d9
commit e513db62b0
27 changed files with 11 additions and 11 deletions

View File

@@ -0,0 +1,18 @@
package accesslog
import (
"io"
"os"
)
type StdoutLogger struct {
io.Writer
}
var stdoutIO = &StdoutLogger{os.Stdout}
func (l *StdoutLogger) Lock() {}
func (l *StdoutLogger) Unlock() {}
func (l *StdoutLogger) Name() string {
return "stdout"
}