Skip to content

Commit

Permalink
fix: set log level
Browse files Browse the repository at this point in the history
  • Loading branch information
luissimas committed Jun 12, 2024
1 parent 8bc3b5c commit caedad7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/zettelkasten-exporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (

func main() {
cfg, err := config.LoadConfig()
slog.SetLogLoggerLevel(cfg.LogLevel)
if err != nil {
slog.Error("Error loading config", slog.Any("error", err))
os.Exit(1)
Expand Down

0 comments on commit caedad7

Please sign in to comment.