Changed from TextType to LogLevel

This commit is contained in:
2023-05-28 17:37:19 +03:00
parent f16c139362
commit 77f1bef862
13 changed files with 45 additions and 65 deletions

View File

@@ -60,7 +60,7 @@ namespace PluginManager.Loaders
}
catch (Exception ex)
{
Config.Logger.Log("PluginName: " + new FileInfo(file).Name.Split('.')[0] + " not loaded", this, Others.TextType.ERROR);
Config.Logger.Log("PluginName: " + new FileInfo(file).Name.Split('.')[0] + " not loaded", this, Others.LogLevel.ERROR);
continue;
}
if (FileLoaded != null)
@@ -131,7 +131,7 @@ namespace PluginManager.Loaders
}
catch (Exception ex)
{
Config.Logger.Log(ex.Message, this, Others.TextType.ERROR);
Config.Logger.Log(ex.Message, this, Others.LogLevel.ERROR);
return null;
}