View Source Credo.Check.Refactor.IoPuts (Credo v1.7.0)
This check has a base priority of 0
and works with any version of Elixir.
explanation
Explanation
Prefer using Logger statements over using IO.puts/1
.
This is a situational check.
As such, it might be a great help for e.g. Phoenix projects, but a clear mismatch for CLI projects.
check-specific-parameters
Check-Specific Parameters
There are no specific parameters for this check.
general-parameters
General Parameters
Like with all checks, general params can be applied.
Parameters can be configured via the .credo.exs
config file.