I'm Sheharyar Naseer

A Minimalist Web Craftsman from Lahore

Freshly Pressed

Sometimes you want to disable the Elixir logger temporarily, usually when you want to suppress some
annoying logs printed to the console when calling a certain function. And more often than not, it’s
when you’re running your 200+ test suite and don’t want anything to interrupt that beautiful green
line. Well, ExUnit.LogCapture already does that for you. But what if you want
something similar outside your tests, in your regular application?