From 4b74a4dba98bba3444cce9a66dab2dd70d1c0639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=B7=E6=99=93=E5=AE=81?= Date: Fri, 12 Apr 2019 02:37:18 +0800 Subject: [PATCH] fix a typo (#62) --- lumberjack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lumberjack.go b/lumberjack.go index a40441c..2cded0c 100644 --- a/lumberjack.go +++ b/lumberjack.go @@ -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