Ejemplo n.º 1
0
 static AppGlobal()
 {
     AppLogger    = new AppLog();
     Logger       = new AppErrorLog();
     FormatWriter = new LogFormatter(ref Logger);
     AppLogger.GenerateLogfiles(Application.StartupPath + "\\" + Application.ProductName + "\\ApplicationLog", "Trace_" + Application.ProductName);
     Logger.GenerateLogfiles(Application.StartupPath + "\\" + Application.ProductName + "\\ApplicationLog", Application.ProductName);
 }
Ejemplo n.º 2
0
 static AppGlobal()
 {
     AppLogger = new AppLog();
     Logger = new AppErrorLog();
     FormatWriter = new LogFormatter(ref Logger);
     AppLogger.GenerateLogfiles(Application.StartupPath + "\\" + Application.ProductName + "\\ApplicationLog", "Trace_" + Application.ProductName);
     Logger.GenerateLogfiles(Application.StartupPath + "\\" + Application.ProductName + "\\ApplicationLog", Application.ProductName);
 }