1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-29 22:17:29 +02:00

Reorganized CLI

This commit is contained in:
Tim Voronov
2018-10-04 22:13:52 -04:00
parent 0e3fe130b1
commit abec033649
13 changed files with 13 additions and 13 deletions

14
cli/logger.go Normal file
View File

@@ -0,0 +1,14 @@
package cli
import (
"github.com/natefinch/lumberjack"
)
func NewLogger() *lumberjack.Logger {
l := &lumberjack.Logger{
Filename: "./ferret.log",
MaxSize: 100,
}
return l
}