Debug logging (actually works)

Didn't know about __VA_ARGS__ :)