/// <summary> /// Default Constructor /// </summary> public LogWriter(string logFilename = null) { if (logFilename == null) { m_fileName = FolderHelper.GetModuleFileName(); m_fileName = m_fileName.Replace(".EXE", ".log"); m_fileName = m_fileName.Replace(".exe", ".log"); } else { m_fileName = logFilename; } }
/// <summary> /// Default Constructor /// </summary> public LogWriter() { m_fileName = FolderHelper.GetModuleFileName(); m_fileName = m_fileName.Replace(".EXE", ".log"); m_fileName = m_fileName.Replace(".exe", ".log"); }