mirror of
https://github.com/cyanfish/naps2.git
synced 2024-10-27 01:22:49 +03:00
28 lines
535 B
C#
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.");
|
|
}
|
|
}
|
|
} |