Run 'go fmt' on code base.

Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
This commit is contained in:
Billy McFall 2020-10-22 17:38:13 -04:00
parent bc95a19c5d
commit c8739f64b9

View File

@ -16,10 +16,10 @@ package logging
import ( import (
"fmt" "fmt"
"io"
"os" "os"
"strings" "strings"
"time" "time"
"io"
"github.com/pkg/errors" "github.com/pkg/errors"
lumberjack "gopkg.in/natefinch/lumberjack.v2" lumberjack "gopkg.in/natefinch/lumberjack.v2"
@ -142,12 +142,12 @@ func SetLogFile(filename string) {
} }
loggingW = &lumberjack.Logger{ loggingW = &lumberjack.Logger{
Filename: filename, Filename: filename,
MaxSize: 100, // megabytes MaxSize: 100, // megabytes
MaxBackups: 5, MaxBackups: 5,
MaxAge: 5, // days MaxAge: 5, // days
Compress: true, Compress: true,
} }
} }