Closed arjan closed 10 years ago
Should be good to merge now, thanks
BTW, I'm using that strange Port/stdout dance, because I couldn't find another way to print Erlang binaries as they are, when most of the time they are UTF-8 but sometimes can be latin1.
Will lager:debug handle that?
Ok, this is what I did. I extracted my stupidly simple logging in a separate module c6952a9b, and now you can override it in your own project like I do here: https://github.com/gdamjan/erlang-irc-bot-skopjehacklab/commit/2bb48feb830d18ae70619aa8a890283c7d29541b
IN/OUT traffic is logged on the
debug
loglevel.