Color picker logs path (#10375)

This commit is contained in:
Mykhailo Pylyp
2021-03-22 17:23:39 +02:00
committed by GitHub
parent 77d67f3599
commit acbabbe13d
3 changed files with 11 additions and 1 deletions

View File

@@ -5,14 +5,16 @@
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.IO.Abstractions;
using interop;
namespace ColorPicker.Helpers
{
public static class Logger
{
private static readonly IFileSystem _fileSystem = new FileSystem();
private static readonly string ApplicationLogPath = _fileSystem.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "ColorPicker");
private static readonly string ApplicationLogPath = Path.Combine(Constants.AppDataPath(), "ColorPicker\\Logs");
static Logger()
{