﻿using System;

namespace Naxis.Core.Logging
{
    /// <summary>
    /// 表示日志工厂
    /// </summary>
    public interface ILoggerFactory
    {
        /// <summary>
        /// 给定名称创建日志
        /// </summary>
        ILogger Create(string name);

        /// <summary>
        /// 给定类型创建日志
        /// </summary>
        ILogger Create(Type type);
    }
}
