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.


I would have `format_date` and `format_time` as two distinct functions, otherwise we will be formatting one without ever using the other.