add logger

This commit is contained in:
2021-06-28 05:45:29 +08:00
parent c27011deea
commit 51ac170a22
2 changed files with 2 additions and 10 deletions
+1 -9
View File
@@ -1,5 +1,4 @@
using System;
using System.Security.Cryptography;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
@@ -37,12 +36,5 @@ namespace SimApi.Helpers
return strbul.ToString();
}
public static void Log(string message, string type = "Information")
{
Console.WriteLine($"[ SimApi ][ {DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss:ffff")} ][ {type} ]");
Console.WriteLine(message);
Console.WriteLine("");
}
}
}