You can disable logs per process via Logger.disable(self())
(works only with self()
). With STDOUT not really, however you can check out how ExUnit.CaptureIO
works and maybe copy their solution.
3 Likes