diff --git a/.gitignore b/.gitignore
index 9491a2f..9d1756d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,9 @@
*.user
*.userosscache
*.sln.docstates
+*.exe
+*.nupkg
+*.nuspec
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
diff --git a/Easy-Log-Framework/Config.cs b/Easy-Log-Framework/Config.cs
deleted file mode 100644
index 36d1664..0000000
--- a/Easy-Log-Framework/Config.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace EasyLog
-{
- public class Config
- {
- public string LogPath = Environment.CurrentDirectory + @"\Application.log";
- public bool Date = true;
- public bool Console = true;
- public bool ClearOnStart = true;
- }
-}
diff --git a/Easy-Log-Framework/Easy-Log-Framework.csproj b/Easy-Log-Framework/Easy-Log-Framework.csproj
deleted file mode 100644
index a8b9f54..0000000
--- a/Easy-Log-Framework/Easy-Log-Framework.csproj
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {7FC206B0-D3C7-4010-8AF3-09A71590E955}
- Library
- Properties
- Easy_Log_Framework
- Easy-Log-Framework
- v4.8
- 512
- true
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Easy-Log-Framework/Logger.cs b/Easy-Log-Framework/Logger.cs
deleted file mode 100644
index 07247cb..0000000
--- a/Easy-Log-Framework/Logger.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.IO;
-
-namespace EasyLog
-{
- public class Logger
- {
- public Config cfg;
- private bool start = true;
- public void Debug(string log)
- {
- if (File.Exists(cfg.LogPath) && start) File.Delete(cfg.LogPath);
- start = false;
- if (cfg.Date) log = "DEBUG | [" + DateTime.Now.ToString() + "] " + log + log + "\n";
- else log = "[DEBUG] " + log;
- if (cfg.Console) Console.WriteLine(log, Console.ForegroundColor = ConsoleColor.Yellow);
- File.AppendAllText(cfg.LogPath, log);
- }
- public void Info(string log)
- {
- if (File.Exists(cfg.LogPath) && start) File.Delete(cfg.LogPath);
- start = false;
- if (cfg.Date) log = "INFO | [" + DateTime.Now.ToString() + "] " + log + log + "\n";
- else log = "[INFO] " + log;
- if (cfg.Console) Console.WriteLine(log, Console.ForegroundColor = ConsoleColor.Blue);
- File.AppendAllText(cfg.LogPath, log);
- }
- public void Warning(string log)
- {
- if (File.Exists(cfg.LogPath) && start) File.Delete(cfg.LogPath);
- start = false;
- if (cfg.Date) log = "WARN | [" + DateTime.Now.ToString() + "] " + log + "\n";
- else log = "[WARN] " + log;
- if (cfg.Console) Console.WriteLine(log, Console.ForegroundColor = ConsoleColor.DarkYellow);
- File.AppendAllText(cfg.LogPath, log);
- }
- public void Error(string log)
- {
- if (File.Exists(cfg.LogPath) && start) File.Delete(cfg.LogPath);
- start = false;
- if (cfg.Date) log = "ERROR | [" + DateTime.Now.ToString() + "] " + log + log + "\n";
- else log = "[ERROR] " + log;
- if (cfg.Console) Console.WriteLine(log, Console.ForegroundColor = ConsoleColor.Red);
- File.AppendAllText(cfg.LogPath, log);
- }
- }
-}
diff --git a/EasyLog.sln b/EasyLog.sln
index cefd713..bcabb90 100644
--- a/EasyLog.sln
+++ b/EasyLog.sln
@@ -5,7 +5,7 @@ VisualStudioVersion = 16.0.32106.194
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example", "Example\Example.csproj", "{DE22B76E-763A-4019-A1D8-07EEF4592308}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EasyLog", "EasyLog\EasyLog.csproj", "{458E8B74-C80E-45FF-B918-7E89F84714CF}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EasyLog", "EasyLog\EasyLog.csproj", "{869CD7D8-113A-4D0B-B658-842DF1D5241F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -17,10 +17,10 @@ Global
{DE22B76E-763A-4019-A1D8-07EEF4592308}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DE22B76E-763A-4019-A1D8-07EEF4592308}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DE22B76E-763A-4019-A1D8-07EEF4592308}.Release|Any CPU.Build.0 = Release|Any CPU
- {458E8B74-C80E-45FF-B918-7E89F84714CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {458E8B74-C80E-45FF-B918-7E89F84714CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {458E8B74-C80E-45FF-B918-7E89F84714CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {458E8B74-C80E-45FF-B918-7E89F84714CF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {869CD7D8-113A-4D0B-B658-842DF1D5241F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {869CD7D8-113A-4D0B-B658-842DF1D5241F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {869CD7D8-113A-4D0B-B658-842DF1D5241F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {869CD7D8-113A-4D0B-B658-842DF1D5241F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/EasyLog/Config.cs b/EasyLog/Config.cs
index 36d1664..95655a7 100644
--- a/EasyLog/Config.cs
+++ b/EasyLog/Config.cs
@@ -1,8 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace EasyLog
{
diff --git a/EasyLog/EasyLog.csproj b/EasyLog/EasyLog.csproj
index a588fc4..202e2a0 100644
--- a/EasyLog/EasyLog.csproj
+++ b/EasyLog/EasyLog.csproj
@@ -1,16 +1,47 @@
-
-
+
+
+
- netstandard2.1
- Easy-Log
- 1.0.1
- Simple and easy Logging System for C# .NET
- 0x74
- https://github.com/byte-0x74/EasyLog
- https://github.com/byte-0x74/EasyLog
- log, logger, logging
- Changed to .net standart 2.1
- true
+ Release
+ AnyCPU
+ {869CD7D8-113A-4D0B-B658-842DF1D5241F}
+ Library
+ Properties
+ EasyLog
+ EasyLog
+ v3.5
+ 512
+ true
-
-
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/EasyLog/Logger.cs b/EasyLog/Logger.cs
index 07247cb..75de79c 100644
--- a/EasyLog/Logger.cs
+++ b/EasyLog/Logger.cs
@@ -1,8 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using System.IO;
namespace EasyLog
diff --git a/Easy-Log-Framework/Properties/AssemblyInfo.cs b/EasyLog/Properties/AssemblyInfo.cs
similarity index 88%
rename from Easy-Log-Framework/Properties/AssemblyInfo.cs
rename to EasyLog/Properties/AssemblyInfo.cs
index c0212b8..fb074d8 100644
--- a/Easy-Log-Framework/Properties/AssemblyInfo.cs
+++ b/EasyLog/Properties/AssemblyInfo.cs
@@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("Easy-Log-Framework")]
+[assembly: AssemblyTitle("EasyLog")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Easy-Log-Framework")]
+[assembly: AssemblyProduct("EasyLog")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -20,7 +20,7 @@
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("7fc206b0-d3c7-4010-8af3-09a71590e955")]
+[assembly: Guid("869cd7d8-113a-4d0b-b658-842df1d5241f")]
// Version information for an assembly consists of the following four values:
//
diff --git a/Example/Example.csproj b/Example/Example.csproj
index 2082704..b314f9b 100644
--- a/Example/Example.csproj
+++ b/Example/Example.csproj
@@ -5,4 +5,8 @@
net5.0
+
+
+
+