2020-06-22 22:36:38 +01:00

23 lines
455 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Marshmallow.Utility
{
public class Logger
{
public static void Log(string text, LogType type)
{
Main.helper.Console.WriteLine(Enum.GetName(typeof(LogType), type) + " : " + text);
}
public enum LogType
{
Log,
Error,
Warning,
Todo
}
}
}