예제 #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);
 }