e13c5006c8
Fixed Version number
34 lines
859 B
C#
34 lines
859 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using SweetLib.Classes.Storer;
|
|
using SweetLib.Utils.Logger;
|
|
using SweetLib.Utils.Logger.Message;
|
|
|
|
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();
|
|
|
|
var f = Path.GetTempFileName();
|
|
var ini = new IniFileStorer(f);
|
|
System.Console.WriteLine(ini.ReadString("sec","key"));
|
|
}
|
|
}
|
|
}
|