~emersion/soju-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Use output given to NewLogger

Details
Message ID
<20220802080936.8398-1-reto@labrat.space>
DKIM signature
fail
Download raw message
Patch: +1 -1 DKIM signature: fail
Previously the output param was ignored
---
 server.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.go b/server.go
index e47b0b3..48cfc7c 100644
--- a/server.go
+++ b/server.go
@@ -60,7 +60,7 @@ func (l logger) Debugf(format string, v ...interface{}) {

func NewLogger(out io.Writer, debug bool) Logger {
	return logger{
		Logger: log.New(log.Writer(), "", log.LstdFlags),
		Logger: log.New(out, "", log.LstdFlags),
		debug:  debug,
	}
}
-- 
2.37.1
Details
Message ID
<BlaiRxytE4ZIc86nDhvSF1ROZs6knZD_rgOQzZYWUi07fpoC7YvilwGJn-xZUWbpRgV7etH7bo0JJeDnCWCxvfaFKCrrPZDflJrXjKc8PsI=@emersion.fr>
In-Reply-To
<20220802080936.8398-1-reto@labrat.space> (view parent)
DKIM signature
pass
Download raw message
Pushed, thanks!
Reply to thread Export thread (mbox)