I have a logging function that takes the calling object as a parameter. I then call getClass().getSimpleName() on it so that I can easily get the class name to add to my log en
Instead of "this" use "MyClass.class" and let your log method treat class objects without getClass().
But instead of doing this yourself, consider letting the log framework do it.