public void ErrorLog(string message) { FileDAL fileDAL = new FileDAL(LogLevel.Error); fileDAL.Write(message); }
public void ErrorLog(Exception ex) { FileDAL fileDAL = new FileDAL(LogLevel.Error); fileDAL.Write(ex); }
//FileDAL _fileDAL; //public FileLog() //{ // if (_fileDAL == null) // { // _fileDAL = new FileDAL(); // } //} public void WriteLog(string message) { FileDAL fileDAL = new FileDAL(LogLevel.Normal); fileDAL.Write(message); }