Skip to content

Commit

Permalink
revert last changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MakMuftic committed Apr 10, 2024
1 parent 240ec2b commit c1960cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,8 @@ func resolveConfigPath(config string, isENV bool) string {
return config
}

const defaultLogLevel = slog.LevelInfo;

func configureLogger() *httplog.Logger {
logLevel := defaultLogLevel;
logLevel := slog.LevelInfo
if os.Getenv("DEBUG") == "true" {
logLevel = slog.LevelDebug
}
Expand Down

0 comments on commit c1960cb

Please sign in to comment.