/**
 * Copyright &copy; 2021-2026 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.logging.service;

import com.jeeplus.sys.domain.Log;
import com.jeeplus.sys.feign.ILogApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 异步日志服务
 *
 * @author jeeplus
 * @version 2021-06-11
 */
@Service
public class AsyncLogService {

    @Autowired
    private ILogApi logService;


    /**
     * 异步保存日志
     *
     * @throws Throwable
     */

    public void saveLog(Log log) {
        logService.save ( log );
    }


}
