add feature: logger.