mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
18 lines
463 B
C#
18 lines
463 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Wox.Helper
|
|
{
|
|
public class WoxLog4netPathConverter : log4net.Util.PatternConverter
|
|
{
|
|
protected override void Convert(TextWriter writer, object state)
|
|
{
|
|
string userProfilePath = Environment.GetEnvironmentVariable("USERPROFILE");
|
|
writer.Write(Path.Combine(userProfilePath, ".Wox"));
|
|
}
|
|
}
|
|
}
|