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.


Hrm I don't think I like that. Sure it saves some memory but its pretty much not clear whats happening.