mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
17 lines
459 B
C#
17 lines
459 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Wox.Helper
|
|
{
|
|
public class WoxLogPathConverter : log4net.Util.PatternConverter
|
|
{
|
|
protected override void Convert(TextWriter writer, object state)
|
|
{
|
|
string userProfilePath = Environment.GetEnvironmentVariable("USERPROFILE");
|
|
writer.Write(Path.Combine(userProfilePath, ".Wox"));
|
|
}
|
|
}
|
|
}
|