Beispiel #1
0
        public LogService(IPathHelper pathHelper)
        {
            _pathHelper = pathHelper;

            string logDir = pathHelper.GetLogDirectory();

            if (!Directory.Exists(logDir))
                Directory.CreateDirectory(logDir);
        }