2
0

fix a typo (#62)

This commit is contained in:
康晓宁
2019-04-12 02:37:18 +08:00
committed by Nate Finch
parent 2e8fbeea3f
commit 4b74a4dba9
+1 -1
View File
@@ -288,7 +288,7 @@ func (l *Logger) openExistingOrNew(writeLen int) error {
return nil
}
// genFilename generates the name of the logfile from the current time.
// filename generates the name of the logfile from the current time.
func (l *Logger) filename() string {
if l.Filename != "" {
return l.Filename