EverythingPowerToys/Debugger.cs

15 lines
452 B
C#
Raw Normal View History

2024-05-25 21:11:41 +08:00
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);
}
}
}