finish rLog class for logging.