Added JSDoc to logic for dashboard / logger.