Print logger.level right before calling debug method.