diff --git a/FunGame.Server/Services/DataUtility/MySQLHelper.cs b/FunGame.Server/Services/DataUtility/MySQLHelper.cs index 773bd62..0a9e4f0 100644 --- a/FunGame.Server/Services/DataUtility/MySQLHelper.cs +++ b/FunGame.Server/Services/DataUtility/MySQLHelper.cs @@ -142,7 +142,7 @@ namespace Milimoe.FunGame.Server.Services.DataUtility OpenConnection(); Script = script; - ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api); + ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api, LogLevel.Debug); using MySqlCommand command = new(script, _connection); command.CommandType = CommandType; foreach (KeyValuePair param in Parameters) @@ -206,7 +206,7 @@ namespace Milimoe.FunGame.Server.Services.DataUtility OpenConnection(); Script = script; - ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api); + ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api, LogLevel.Debug); using MySqlCommand command = new(script, _connection); command.CommandType = CommandType; foreach (KeyValuePair param in Parameters) @@ -270,7 +270,7 @@ namespace Milimoe.FunGame.Server.Services.DataUtility OpenConnection(); Script = script; - ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api); + ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api, LogLevel.Debug); using MySqlCommand command = new(script, _connection) { @@ -335,7 +335,7 @@ namespace Milimoe.FunGame.Server.Services.DataUtility OpenConnection(); Script = script; - ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api); + ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api, LogLevel.Debug); using MySqlCommand command = new(script, _connection) { diff --git a/FunGame.Server/Services/DataUtility/SQLiteHelper.cs b/FunGame.Server/Services/DataUtility/SQLiteHelper.cs index 510d396..55b9da8 100644 --- a/FunGame.Server/Services/DataUtility/SQLiteHelper.cs +++ b/FunGame.Server/Services/DataUtility/SQLiteHelper.cs @@ -140,7 +140,7 @@ namespace Milimoe.FunGame.Server.Services.DataUtility OpenConnection(); Script = script; - ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api); + ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api, LogLevel.Debug); using SqliteCommand command = new(script, _connection); command.CommandType = CommandType; foreach (KeyValuePair param in Parameters) @@ -206,7 +206,7 @@ namespace Milimoe.FunGame.Server.Services.DataUtility OpenConnection(); Script = script; - ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api); + ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api, LogLevel.Debug); using SqliteCommand command = new(script, _connection); command.CommandType = CommandType; foreach (KeyValuePair param in Parameters) @@ -272,7 +272,7 @@ namespace Milimoe.FunGame.Server.Services.DataUtility OpenConnection(); Script = script; - ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api); + ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api, LogLevel.Debug); using SqliteCommand command = new(script, _connection) { CommandType = CommandType @@ -338,7 +338,7 @@ namespace Milimoe.FunGame.Server.Services.DataUtility OpenConnection(); Script = script; - ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api); + ServerHelper.WriteLine("SQLQuery -> " + script, InvokeMessageType.Api, LogLevel.Debug); using SqliteCommand command = new(script, _connection) { CommandType = CommandType