public ATCLogger(string workingDir) { rootWorkingDir = workingDir; logDir = Path.Combine(workingDir, "logs"); startTime = DateTime.Now; Inst = this; }
public ATCTaskProxy(string title, string logcat) { _title = title; Rootcat = logcat; Subcat = null; ATCLogger.AddListener(Rootcat, this); }
public ATCTaskProxy(string title, string rootcat, Guid guid) { _title = title; Rootcat = rootcat; Subcat = guid.ToString("N"); ATCLogger.AddListener(Rootcat + "::" + Subcat, this); }
protected ATCModule(ATCLogger l, SettingsModule s, string wd, string m) { logger = l; SettingsBase = s; Modulename = m; WorkingDirectory = Path.Combine(wd, Modulename); Directory.CreateDirectory(WorkingDirectory); StartTime = DateTime.Now; }
public void RegisterRoot() { ATCLogger.AddListener(string.Empty, this); }