mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 15:53:19 +00:00
25 lines
471 B
C#
25 lines
471 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|