Пример #1
0
 public static NLogAdapter GetLogger(string logName)
 {
     if (logAdapter == null)
     {
         logAdapter = new NLogAdapter(logName);
     }
     return logAdapter;
 }
 static SearchBarcodeForm()
 {
     myLogger = NLogAdapter.GetLogger("NeoHHLog");
     myLogger.StartLogger(ConfigSettings.AddLogs);
 }
Пример #3
0
 static StartAudit_Form()
 {
     myLogger = NLogAdapter.GetLogger("NeoHHLog");
     myLogger.StartLogger(ConfigSettings.AddLogs);
 }