naps2/NAPS2.Tools/Output.cs
2022-11-13 12:58:47 -08:00

28 lines
535 B
C#

namespace NAPS2.Tools;
public static class Output
{
public static bool EnableVerbose { get; set; }
public static void Info(string text) => Console.WriteLine(text);
public static void Verbose(string text)
{
if (EnableVerbose)
{
Console.WriteLine(text);
}
}
public static void OperationEnd(string text)
{
if (EnableVerbose)
{
Console.WriteLine(text);
}
else
{
Console.WriteLine("Done.");
}
}
}