Fix linting error

This commit is contained in:
Gregory Kurtzer
2021-12-28 14:12:03 -08:00
parent 556d453dd5
commit 29bcbd264a

View File

@@ -44,7 +44,7 @@ func prefixGen(level int) string {
func printlog(level int, message string) {
if level == INFO && logLevel <= INFO {
fmt.Printf(message)
fmt.Print(message)
} else if level <= logLevel {
if level < INFO {
fmt.Fprintf(os.Stderr, prefixGen(level)+message)