Skip to content

Commit

Permalink
Automated commit by Forgejo Actions - Personal Bot
Browse files Browse the repository at this point in the history
  • Loading branch information
poniatowski-bot committed Jul 23, 2024
1 parent 205e6f4 commit 0109e6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boillog.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"path/filepath"
"runtime"
"strconv"
"strings"
"time"

"golang.org/x/exp/slog"
Expand Down Expand Up @@ -76,7 +77,7 @@ func LogIt(logFunction string, logOutput string, message string) {
return
}
defer file.Close()
errCloseLogger := logger(logFunction, logOutput, message, file)
errCloseLogger := logger(logFunction, strings.ToUpper(logOutput), message, file)
if errCloseLogger != nil {
log.Printf("Error writing to log: %v", errCloseLogger)
}
Expand Down

0 comments on commit 0109e6d

Please sign in to comment.