testing logger extraction in loggingSlot and loggingFunc