using DigitalData.Modules.Logging;

namespace ZUGFeRDRESTService
{
    internal class Logging : ILogging
    {
        public LogConfig LogConfig { get; set; }

        public Logging(string LogPath, bool Debug)
        {
            LogConfig = new LogConfig(LogConfig.PathType.CustomPath, LogPath, null, "Digital Data", "ZUGFeRD-REST-API");
            LogConfig.Debug = Debug;
        }        
    }
}