public static void InitLog(string logPath) { LogPath = logPath; ILog log = new ObserverLogToFile(LogPath + @"\MarketService.log"); SingletonLogger.Instance.Attach(log); }
public static void InitLog() { ILog log = new ObserverLogToFile(@"DoFactory.log"); SingletonLogger.Instance.Attach(log); }