mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Inital Commit
This commit is contained in:
parent
fc2b0206d6
commit
e8e0a0a519
145 changed files with 68819 additions and 0 deletions
21
Horse Isle Server/Horse Isle Server/Logger.cs
Normal file
21
Horse Isle Server/Horse Isle Server/Logger.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Horse_Isle_Server
|
||||
{
|
||||
class Logger
|
||||
{
|
||||
public static void DebugPrint(string text)
|
||||
{
|
||||
if (ConfigReader.Debug)
|
||||
Console.WriteLine("[DEBUG] " + text);
|
||||
}
|
||||
public static void ErrorPrint(string text)
|
||||
{
|
||||
Console.WriteLine("[ERROR] " + text);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue