Log output with colors!

Notes

Sometimes when you look at debug statements, it’s hard to see where your Logger.debug/1 statement is printing out. There’s too much info!

Well, one little trick I use sometimes is to give it some color!

Just pass the :ansi_color option to Logger.debug/1:

Logger.debug("Print me with colors", ansi_color: :yellow)

Want the latest Elixir Streams in your inbox?

    No spam. Unsubscribe any time.