EverythingPowerToys/Debugger.cs
Lin Yu-Chieh (Victor) 8f1e839b12 Resolves #130 #132
Updated to match 0.85.1
Fixed translations, removed redundant
Remove debug feature from release
2024-10-13 01:04:46 +08:00

17 lines
469 B
C#

#if DEBUG
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);
}
}
}
#endif