Prevent inlining when getting current class logger

I think this may fix the problem we discussed on skype.

Also converted tabs -> spaces to be consistent with rest of codebase.