mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
15 lines
185 B
Go
15 lines
185 B
Go
package cli
|
|
|
|
import (
|
|
"github.com/natefinch/lumberjack"
|
|
)
|
|
|
|
func NewLogger() *lumberjack.Logger {
|
|
l := &lumberjack.Logger{
|
|
Filename: "./ferret.log",
|
|
MaxSize: 100,
|
|
}
|
|
|
|
return l
|
|
}
|