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.


No need to check if it is an atom for this clause. If it is in `@valid_patterns`, it is definitely an atom.