SweetLib/SweetLib.Demo.Console/Program.cs
Serraniel dd5fc290b2 Finalized logger
Added Console Demo
2017-04-12 17:44:02 +02:00

27 lines
618 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SweetLib.Utils.Logger;
namespace SweetLib.Demo.Console
{
class Program
{
static void Main(string[] args)
{
//Logger.GlobalLogLevel |= LogLevel.Debug | LogLevel.Trace;
Logger.GlobalLogLevel=LogLevel.All;
Logger.Trace("Trace!");
Logger.Debug("Debug");
Logger.Info("Hallo Welt");
Logger.Warn("WARN!");
Logger.Error("Error :(");
System.Console.ReadLine();
}
}
}