mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 15:53:19 +00:00
22 lines
399 B
C#
22 lines
399 B
C#
using System;
|
|
|
|
namespace QNetWeaver
|
|
{
|
|
public static class Log
|
|
{
|
|
public static void Warning(string msg)
|
|
{
|
|
Console.ForegroundColor = ConsoleColor.Yellow;
|
|
Console.WriteLine($"WARN : {msg}");
|
|
Console.ResetColor();
|
|
}
|
|
|
|
public static void Error(string msg)
|
|
{
|
|
Console.ForegroundColor = ConsoleColor.DarkRed;
|
|
Console.WriteLine($"ERR : {msg}");
|
|
Console.ResetColor();
|
|
}
|
|
}
|
|
}
|