mirror of
https://github.com/lin-ycv/EverythingPowerToys.git
synced 2025-01-08 11:57:59 +08:00
6097e4b436
0.80.0+fixes+Debug Option
15 lines
452 B
C#
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);
|
|
}
|
|
}
|
|
}
|