Add a list of available cores for each platform to the platform map (#130)
This commit is contained in:
@@ -8,6 +8,8 @@ namespace gaseous_tools
|
||||
{
|
||||
public class Logging
|
||||
{
|
||||
public static bool WriteToDiskOnly { get; set; } = false;
|
||||
|
||||
static public void Log(LogType EventType, string ServerProcess, string Message, Exception? ExceptionValue = null, bool LogToDiskOnly = false)
|
||||
{
|
||||
LogItem logItem = new LogItem
|
||||
@@ -61,6 +63,11 @@ namespace gaseous_tools
|
||||
Console.WriteLine(TraceOutput);
|
||||
Console.ResetColor();
|
||||
|
||||
if (WriteToDiskOnly == true)
|
||||
{
|
||||
LogToDiskOnly = true;
|
||||
}
|
||||
|
||||
if (LogToDiskOnly == false)
|
||||
{
|
||||
Database db = new gaseous_tools.Database(Database.databaseType.MySql, Config.DatabaseConfiguration.ConnectionString);
|
||||
|
Reference in New Issue
Block a user