mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-18 10:51:31 +12:00
29 lines
733 B
C#
29 lines
733 B
C#
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 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);
|
|
}
|
|
}
|
|
}
|