1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 00:22:41 +08:00

io.Writer

This commit is contained in:
2022-06-27 16:05:37 +08:00
parent dcd803b4f2
commit f061b2efeb
2 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,8 @@
package logx
import (
"io"
"github.com/sirupsen/logrus"
)
@ -37,3 +39,7 @@ func (l *logrusWrpper) WithFields(fields Fields) Logger {
return l
}
func (l *logrusWrpper) Writer() io.Writer {
return l.Entry.Writer()
}