LoggerSigilL

LoggerSigilL provides a short syntax for logging while debugging an application, like ~w(a b c)

Installation

Add logger_sigil_l to your list of dependencies in mix.exs:

def deps do
[
{:logger_sigil_l,"~> 0.1.2"}
]
end

Use

~l"your text here"<<<m>t>b>

~l"text" #default for Logger.debug
~l"text"i #default for Logger.info
~l"text"wr # Logger.warn with red text
~l"text"iry # Logger.info with red text and yellow background

Examples

#in our module
use LoggerSigilL
def test_logger do
m = "test message"
~l"#{m}"
~l"#{m}"dr
~l"#{m}"er
~l"#{m}"ir
~l"#{m}"wr
~l"#{m}"dg
~l"#{m}"eg
~l"#{m}"ig
~l"#{m}"wg
~l"#{m}"dc
~l"#{m}"ec
~l"#{m}"ic
~l"#{m}"wc
~l"#{m}"dm
~l"#{m}"em
~l"#{m}"im
~l"#{m}"wm
~l"#{m}"dwm
~l"#{m}"ewm
~l"#{m}"iwm
~l"#{m}"wwm
~l"#{m}"dry
~l"#{m}"ery
~l"#{m}"iry
~l"#{m}"wry
~l"#{m}"dwb
~l"#{m}"ewb
~l"#{m}"iwb
~l"#{m}"wwb
end

out1out2