mirror of
https://github.com/islehorse/HISP.git
synced 2025-06-07 19:41:27 +12:00
Remove " " space from the names
This commit is contained in:
parent
bef3032886
commit
8e451633dc
59 changed files with 391 additions and 391 deletions
32
Horse Isle Server/HorseIsleServer/Server/Logger.cs
Normal file
32
Horse Isle Server/HorseIsleServer/Server/Logger.cs
Normal file
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
|
||||
namespace HISP.Server
|
||||
{
|
||||
class Logger
|
||||
{
|
||||
public static void HackerPrint(string text) // When someone is obviously cheating.
|
||||
{
|
||||
ConsoleColor prevColor = Console.ForegroundColor;
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine("[HACK] " + text);
|
||||
Console.ForegroundColor = prevColor;
|
||||
}
|
||||
public static void DebugPrint(string text)
|
||||
{
|
||||
if (ConfigReader.Debug)
|
||||
Console.WriteLine("[DEBUG] " + text);
|
||||
}
|
||||
public static void WarnPrint(string text)
|
||||
{
|
||||
Console.WriteLine("[WARN] " + text);
|
||||
}
|
||||
public static void ErrorPrint(string text)
|
||||
{
|
||||
Console.WriteLine("[ERROR] " + text);
|
||||
}
|
||||
public static void InfoPrint(string text)
|
||||
{
|
||||
Console.WriteLine("[INFO] " + text);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue