diff --git a/log/logger.go b/log/logger.go index e1f97de..27edeb7 100644 --- a/log/logger.go +++ b/log/logger.go @@ -7,7 +7,7 @@ import ( "time" ) -func (l Logger) SetInfoDepth(depth int) { +func (l *Logger) SetInfoDepth(depth int) { l.FileInfoDepth = depth }