EverythingPowerToys/Debugger.cs
Lin Yu-Chieh (Victor) 6097e4b436 fix #108
0.80.0+fixes+Debug Option
2024-05-25 21:11:41 +08:00

15 lines
452 B
C#

using System;
using System.IO;
namespace Community.PowerToys.Run.Plugin.Everything
{
internal static class Debugger
{
private static readonly string FilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "EverythingPT.log");
public static void Write(string message)
{
using StreamWriter writer = new(FilePath, true);
writer.WriteLine(message);
}
}
}