This cannot be (easily) done with lager:debug , etc. However, with lager 3.x you can now have multiple sinks , which means you can define a receiver named myapp and use myapp:debug , etc. Then you can configure registration levels, filters, and destinations independently for each receiver.
source share