-
Notifications
You must be signed in to change notification settings - Fork 0
/
Debugger.cs
37 lines (33 loc) · 1.12 KB
/
Debugger.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
namespace DonationIntegration
{
class Debugger
{
public static void successOutput(string message)
{
Console.BackgroundColor = ConsoleColor.Black;
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine(Config.plugin_tag + message);
makeColorsBack();
}
public static void messageOutput(string message)
{
Console.BackgroundColor = ConsoleColor.Black;
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine(Config.plugin_tag + message);
makeColorsBack();
}
public static void errorOutput(string message)
{
Console.BackgroundColor = ConsoleColor.Black;
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine(Config.plugin_tag + message);
makeColorsBack();
}
public static void makeColorsBack()
{
Console.BackgroundColor = ConsoleColor.Black;
Console.ForegroundColor = ConsoleColor.White;
}
}
}