about summary refs log tree commit diff stats
path: root/internal/log
diff options
context:
space:
mode:
authorAlan Pearce2024-06-25 09:14:56 +0200
committerAlan Pearce2024-06-25 09:14:56 +0200
commitbecede4bfead952239b9cf7c8eb9fb96d01534ec (patch)
tree20cf7d880487d89bc7d1d2e09912409e1a8f4489 /internal/log
parent4f5ca39f582d83ded08a6e1cbf1a195141623b1c (diff)
downloadwebsite-becede4bfead952239b9cf7c8eb9fb96d01534ec.tar.lz
website-becede4bfead952239b9cf7c8eb9fb96d01534ec.tar.zst
website-becede4bfead952239b9cf7c8eb9fb96d01534ec.zip
refactor/format
Diffstat (limited to 'internal/log')
-rw-r--r--internal/log/log.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/log/log.go b/internal/log/log.go
index f5b48b1..a0f5ba7 100644
--- a/internal/log/log.go
+++ b/internal/log/log.go
@@ -36,8 +36,10 @@ func Fatal(msg string, rest ...any) {
 func getLevelFromEnv() (zapcore.Level, error) {
 	if str, found := os.LookupEnv("LOG_LEVEL"); found {
 		l, err := zap.ParseAtomicLevel(str)
+
 		return l.Level(), err
 	}
+
 	return zap.InfoLevel, nil
 }