mirror of
https://github.com/lin-ycv/EverythingPowerToys.git
synced 2025-01-05 10:27:48 +08:00
8f1e839b12
Updated to match 0.85.1 Fixed translations, removed redundant Remove debug feature from release
17 lines
469 B
C#
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
|