macisamuele / language-formatters-pre-commit-hooks

Collection of custom pre-commit hooks.
Apache License 2.0
115 stars 58 forks source link

Add option to set different log level #168

Closed TribuneX closed 1 year ago

TribuneX commented 1 year ago

Currently ktlint is called with log level debug which leads to a lot of log messages in case the hook is failing. It is sometimes hard to spot the actual rule violation. What about allowing to configure the log level to e.g. INFO?

macisamuele commented 1 year ago

Thanks for the report. This seems something that would be addressed already in #163

TribuneX commented 1 year ago

Thx. This should address the large log output issue. Looking forward to this update.