2
0

better version of check for io.WriteCloser

This commit is contained in:
Nate Finch
2014-06-16 09:46:03 -04:00
parent 20a6506830
commit 819bdb463d
+1 -1
View File
@@ -52,7 +52,7 @@ const (
)
// ensure we always implement io.WriteCloser
var _ io.WriteCloser = &Logger{}
var _ io.WriteCloser = (*Logger)(nil)
// Logger is an io.WriteCloser that writes to a log file in the given directory
// with the given NameFormat. NameFormat should include a time formatting