Log formatter

Fixes #3

Let me know anyway I can improve! I still feel like I'm learning 'the functional way' so any feedback is appreciated.


Duh :)