How to suppress specific warnings

Let’s say that I use some code that triggers a warning, but assume that I know what I’m doing and the code that I use is intentional and in normal situation should generate a warning.

I dynamically redefine a generated module with Module.create/3 and receive the following warning:
warning: redefining module Hologram.Runtime.RouterMatcher (current version defined in memory)

How to suppress it?

1 Like