Logger code review changes

cc @josevalim @chrismccord
Ahh I'm not sure about this? That gives me a syntax error?