Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetOutput will be in an endless cycle. #16

Open
js2854 opened this issue Mar 5, 2020 · 1 comment
Open

SetOutput will be in an endless cycle. #16

js2854 opened this issue Mar 5, 2020 · 1 comment

Comments

@js2854
Copy link

js2854 commented Mar 5, 2020

func (l *Logger) SetOutput(w io.Writer) {
	l.SetOutput(w)
}

should be

func (l *Logger) SetOutput(w io.Writer) {
	l.Logger.SetOutput(w)
}
@pilinux
Copy link
Contributor

pilinux commented Nov 13, 2023

It was fixed in #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants