﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace ExternalConfigStore.Framework.Commons.Logger
{
    public interface ILogger
    {
        void Info(string message);
        void Warn(string message, Exception ex = null);
        void Error(string message, Exception ex);
        void Fatal(string message, Exception ex = null);
        void LogErrors(string customError, ICollection<string> errors);
        void LogInfos(ICollection<string> infos);
        Task LogInfosAsync(ICollection<string> infos);
        Task LogErrorsAsync(string customError, ICollection<string> errors);
    }
}
