Skip to content

Commit

Permalink
chore(config)!: Change default log format to auto
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jun 26, 2024
1 parent 1b0394b commit 04e59b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/yampl.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ yampl [-i] [-p prefix] [-v key=value ...] [file ...]
-I, --indent int Override output indentation (default 2)
-i, --inplace Edit files in place
--left-delim string Override template left delimiter (default "{{")
--log-format string Log format (auto, color, plain, json) (default "color")
--log-format string Log format (auto, color, plain, json) (default "auto")
-l, --log-level string Log level (trace, debug, info, warn, error, fatal, panic) (default "info")
-p, --prefix string Template comments must begin with this prefix. The beginning '#' is implied. (default "#yampl")
-r, --recursive Recursively update yaml files in the given directory
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ func New() *Config {
Indent: 2,

LogLevel: zerolog.InfoLevel.String(),
LogFormat: Color,
LogFormat: Auto,
}
}

0 comments on commit 04e59b8

Please sign in to comment.