logger use by name parameter to prevent unnecessary evaluation