Using logger.end for print OK message