public void Log(string message, LogLevel logLevel) { string text = $"{DateTime.Now} [{logLevel.ToString().ToUpper()}]: {message}" + Environment.NewLine; File.AppendAllText(path, text); }