Doesn't log messages when disabled

Also, even more elegant