public static void WriteLogs(string fileName, string type, string content)
{
string path = AppDomain.CurrentDomain.BaseDirectory;
if (!string.IsNullOrEmpty(path))
{
path = AppDomain.CurrentDomain.BaseDirectory + fileName;
if (!Directory.Exists(path))
{
...