inaka / worker_pool

Erlang worker pool
https://hex.pm/packages/worker_pool
Apache License 2.0
276 stars 80 forks source link

Remove lager runtime dependency #21

Closed schlagert closed 9 years ago

schlagert commented 9 years ago

Remove the runtime dependency to the lager logging framework and convert all logging statements to use default error_logger. The rebar.config dependency for lager is still there so it can (and will) still be used when running tests making their output more readable (error_logger handler).

worker_pool is a generic project appealing to many different users. However, not everyone uses lager to handle logging in their release. Not forcing others to switch their logging to lager will increase the project's acceptance and distribution. Furthermore, worker_pool does not really benefit from lager since it doesn't do heavy logging, error_logger should be sufficient for this task.

This patch removes trailing whitespace from touched files (4 occurences). elvis has been run on the patched version without complaining.